Open dansiviter opened 5 months ago
@dansiviter Thank you for taking the time to open this issue. Can you clarify for me if this is a new behavior? Meaning, on previous versions were you able to have the Resource Provider 'Microsoft.IoTCentral' register automatically, but now it is not? Or is this the first provider version in which you are trying to get it to register? I'm trying to see if this is a new behavior or existing behavior, thanks!
@rcskosir I've not tried other versions, however it seems the IoTC terraform functionality is pretty new and by far from complete so I assume something has been missed. I did manage to work around it by creating the azurerm_resource_provider_registration
first and using depends_on
:
resource "azurerm_resource_provider_registration" "iot-central" {
name = "Microsoft.IoTCentral"
}
resource "azurerm_iotcentral_application" "iot" {
...
depends_on = [
azurerm_resource_provider_registration.iot-central
]
}
Is there an existing issue for this?
Community Note
Terraform Version
1.6.0
AzureRM Provider Version
3.87.0
Affected Resource(s)/Data Source(s)
azurerm_iotcentral_application
Terraform Configuration Files