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
Error: Can not parse "management_group_id" as a resource id: Cannot parse Azure ID: parse ManagementRoot_QA: invalid URI for request
Panic Output
Expected Behavior
The ID/path of Azure Policy should be returned by the resource provider "azurerm_policy_definition". When the policy definition is not stored on the tenant root the policy ID will not be returned anymore. This was working when I used the Terraform Version 0.11.
As workaround we stored the policy definition directly on the tenant root, but this is only a workaround.
Actual Behavior
Steps to Reproduce
terraform plan
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
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 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked as resolved and limited conversation to collaborators
Oct 21, 2020
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.3
provider.azurerm v1.30.1
Affected Resource(s)
azurerm_policy_definition
Terraform Configuration Files
Debug Output
Error: Can not parse "management_group_id" as a resource id: Cannot parse Azure ID: parse ManagementRoot_QA: invalid URI for request
Panic Output
Expected Behavior
The ID/path of Azure Policy should be returned by the resource provider "azurerm_policy_definition". When the policy definition is not stored on the tenant root the policy ID will not be returned anymore. This was working when I used the Terraform Version 0.11.
As workaround we stored the policy definition directly on the tenant root, but this is only a workaround.
Actual Behavior
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: