Error Azure Infra setup on step "Deploy Monitoring Resources"
I have successfully completed all the required steps before:
-
common_prepare.sh
script has executed without errors and warnings -
.envrc
file contain all necessary parameters
I get this error while execute deployment terraform apply -var-file custom.tfvars
:
Error: Error creating or updating Scheduled Query Rule "airflow-import-errors-alert-osdu-mvp-mrdemo-e5sm" (resource group "osdu-mvp-mrdemo-e5sm-rg"): insights.ScheduledQueryRulesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Scope 'osdu-mvp-crdemo-dz5-ai' does not exists"
on main.tf line 239, in resource "azurerm_monitor_scheduled_query_rules_alert" "alerts":
239: resource "azurerm_monitor_scheduled_query_rules_alert" "alerts" {