APIM: behaviour of zones
in additional_location
differs from behaviour of zones
in parent resource
#26244
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.3.8
AzureRM Provider Version
3.106.1
Affected Resource(s)/Data Source(s)
azurerm_api_management
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When adding a brand new
additional_location
to an existing APIM instance, thezones
argument should not trigger a replacement, regardless of the value.Actual Behaviour
When adding a brand new
additional_location
to an existing APIM instance, if thezones
field is configured, it triggers a replacement of the APIM instance. If thezones
field is omitted, it does not trigger a replacement.Steps to Reproduce
additional_location
.additional_location
and omit thezones
argument.terraform plan
and note that the plan does not force a replacement of the APIM instance.zones
field toadditional_location
.terraform plan
and note that the plan now forces a replacement of the APIM instance.Important Factoids
No response
References
It appears this pull request may be related to this unexpected behaviour. It appears that the functionality of the
zones
argument was updated for the APIM instance itself, but the same changes were not made to theadditional_location
argument.The text was updated successfully, but these errors were encountered: