mirror of https://github.com/databricks/cli.git
Add Lakehouse monitoring
This commit is contained in:
parent
4aa38b8c15
commit
c46ecded04
|
@ -88,12 +88,12 @@ func validateRunAs(b *bundle.Bundle) diag.Diagnostics {
|
||||||
|
|
||||||
// Monitors do not support run_as in the API.
|
// Monitors do not support run_as in the API.
|
||||||
if len(b.Config.Resources.QualityMonitors) > 0 {
|
if len(b.Config.Resources.QualityMonitors) > 0 {
|
||||||
return errUnsupportedResourceTypeForRunAs{
|
return reportRunAsNotSupported(
|
||||||
resourceType: "quality_monitors",
|
"quality_monitors",
|
||||||
resourceLocation: b.Config.GetLocation("resources.quality_monitors"),
|
b.Config.GetLocation("resources.quality_monitors"),
|
||||||
currentUser: b.Config.Workspace.CurrentUser.UserName,
|
b.Config.Workspace.CurrentUser.UserName,
|
||||||
runAsUser: identity,
|
identity,
|
||||||
}
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue