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
Previous code was using the SingleResourceMultipleMetricCriteria, while this is superseded by MultipleResourceMultipleMetricCriteria.
In your case the metric of the target resource azurerm_traffic_manager_profile might be a MultipleResourceMultipleMetricCriteria if you are calling via a newer API version or the criteria itself is a Dynamic criteria (you can tell via looking at the field properties.criteria.odata.type from the response body), which is omit in current code.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Sep 3, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.25
Affected Resource(s)
azurerm_monitor_metric_alert
Terraform Configuration Files
Expected Behavior
When importing existing resource of type
azurerm_monitor_metric_alert
, all fields includingname
,criteria
andaction
should be imported.Actual Behavior
Only
id
,resource_group_name
andtags
are imported. Below is output ofterraform state show ...
:Steps to Reproduce
The text was updated successfully, but these errors were encountered: