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
# azurerm_api_management.example[0] will be updated in-place~ resource "azurerm_api_management""product-apim-service" {
id = "/subscriptions/*********/resourceGroups/example-RESOURCES/providers/Microsoft.ApiManagement/service/example-apim"
name = "example-apim"# (21 unchanged attributes hidden)~ virtual_network_configuration {
~ subnet_id = "/subscriptions/*********/resourcegroups/example-resources/providers/microsoft.network/virtualnetworks/example/subnets/EXAMPLE" ->"/subscriptions/*********/resourceGroups/example-RESOURCES/providers/Microsoft.Network/virtualNetworks/EXAMPLE/subnets/EXAMPLE"
}
# (8 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
azurerm_api_management.example[0]: Modifying... [id=/subscriptions//*********/resourceGroups/example-RESOURCES/providers/Microsoft.ApiManagement/service/example-APIM]
...
Expected Behaviour
its the same ID for subnet in the state as it is for the id of the subnet in the plan. so should not prompt for modification every time we run plan or apply.
Actual Behaviour
every time apply is executed, prompted for modification to the subnet id of the apim. Possibly because of case sensitivity. It seems the state stores much of the resource id as lowercase
~ subnet_id =
"/subscriptions/---------/resourcegroups/**example-resources**/providers/microsoft.network/virtualnetworks/**example**/subnets/EXAMPLE"
"/subscriptions/---------/resourceGroups/**example-RESOURCES**/providers/Microsoft.Network/virtualNetworks/**EXAMPLE**/subnets/EXAMPLE"
Whereas my resources contain some uppercase chars.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
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 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.
Is there an existing issue for this?
Community Note
Terraform Version
1.1.2
AzureRM Provider Version
3.21.1
Affected Resource(s)/Data Source(s)
azurerm_api_management
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
its the same ID for subnet in the state as it is for the id of the subnet in the plan. so should not prompt for modification every time we run plan or apply.
Actual Behaviour
every time apply is executed, prompted for modification to the subnet id of the apim. Possibly because of case sensitivity. It seems the state stores much of the resource id as lowercase
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: