You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Log Analytic Workspace is in different subscription, the data source can not read the resource (can only read resource in the same subscription where the deployment is happening)
# Get exisiting Log Analytics Workspace if law_resource_group_name is defineddata"azurerm_log_analytics_workspace""existing-law" {
count=var.law_resource_group_name!=null?1:0name=var.law_nameresource_group_name=var.law_resource_group_name
}
Options, either use provider block in the data resource specifying the subscriptionId or use direct Log Analytic Workspace reference (id, workspaceId, sharedKey)
The text was updated successfully, but these errors were encountered:
If Log Analytic Workspace is in different subscription, the data source can not read the resource (can only read resource in the same subscription where the deployment is happening)
Options, either use provider block in the data resource specifying the subscriptionId or use direct Log Analytic Workspace reference (id, workspaceId, sharedKey)
The text was updated successfully, but these errors were encountered: