Open pchevallier opened 1 year ago
Hi @pchevallier thanks for opening the issue! Unfortunately, this error comes from Azure API directly, indicating that the IoTHub DPS is in the middle of some operations. I read from the json response of the DPS you shared and the state is indeed Active. If there is no simultaneous operations to the DPS resource, there may be some issue within the Azure cache, I'd suggest open a support ticket to Azure to check the state of the DPS while deleting the private endpoint.
Thanks @myc2h6o I will try to duplicate this issue using the CLI and if this is indeed the case, I will then open a ticket accordingly.
Is there an existing issue for this?
Community Note
Terraform Version
1.4.5
AzureRM Provider Version
3.52.0
Affected Resource(s)/Data Source(s)
azurerm_private_endpoint
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The IoT HUB DPS state should return the correct state (active in this case)
Actual Behaviour
The IoT HUB DPS status is returned to "transitioning"
Steps to Reproduce
No response
Important Factoids
No response
References
No response