Open Scarlettliuyc opened 7 months ago
We are also facing same issue , Any resolution or work around so far ?
I am also facing the same issue. Tried providing Azure data owner role but still no luck.
+1
+1
this is the RP https://github.com/hashicorp/terraform-provider-azurerm/pull/25809 but haven't push.
The issue has been resolved in provider version 3.116.0.
Is there an existing issue for this?
Community Note
Terraform Version
1.xx
AzureRM Provider Version
3.97.1
Affected Resource(s)/Data Source(s)
azurerm_eventhub_namespace_customer_managed_key
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The encryption should create correct by terraform.
Actual Behaviour
The issue happened from 3/08/2024, tried in both azrm 3.90 and 3.97 version. The identity actually has already added in Event Hub, we can find it in portal. This part of terraform only to create then encryption based on the identity. The role assignment of key vault also created correctly. The error looks from this line: https://github.com/hashicorp/terraform-provider-azurerm/blob/810ce188d48d7b00f9d6516cbe39f0b8accc8bfc/internal/services/eventhub/eventhub_namespace_customer_managed_key_resource.go#L144 We tried to hard code the user assigned managed identity id, but same error occurd.
Steps to Reproduce
Terraform plan Terraform apply
Important Factoids
No response
References
No response