Closed skwokie closed 4 months ago
Hi @skwokie ,
Thank you for taking time to report this issue and apologize for late response!
It's not allowed to use the dot "." in a key directly, you could use the following format:
"odata.type" = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"
Then you could declare the this field in the config.
Close this issue as it's resolved, but feel free to reopen it if there's any question.
I have written the code below following https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/metricalerts?pivots=deployment-language-terraform
However, I got the following error when running
terraform apply
:Thanks!
Terraform version: v1.5.7 OS: Alpine Linux (a runtime docker container) OS version: 3.16.2