Closed cncoats closed 3 years ago
👍
👍 I ended up to go to portal to save assignment one more time. Then MID worked as expected from that on
This issue still exists in the latest provider.azurerm v2.20.0 .
This MSFT doc discusses the step to configure the managed identity via portal or power-shell but doesn't cover how to accomplish it via REST API.
This MSFT doc docs discusses the steps to configure the managed identity via the REST API.
Perhaps its not currently possible via the REST API to successfully setup the managed identity based on my research that remains unclear to me.
The issue still exists.
I get this issue, too.
I want to create a "deployIfNotExists" policy through terraform from the documentation. https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/private-link-and-dns-integration-at-scale
The policy is created, alle parameters have a "strongType" are empty. If I have to reset the value inside the UI, then the policy is working.
Permissions can be assigned using the azurerm_role_assignment
resource - where the Principal ID would be the Principal ID from the Identity block of the Policy Assignment - as such this is possible in Terraform and I'm going to close this issue for the moment.
Thanks!
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
$ terraform -v Terraform v0.12.3
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
When I create a policy assignment through the Portal on the same policy, it creates the identity with the appropriate permissions:
Actual Behavior
The assignment created by my terraform creates the following:
Steps to Reproduce
terraform apply
Important Factoids
References
0000