azurerm_storage_container is not recreated when azurerm_storage_account must be replaced #11649
Labels
breaking-change
refactor
service/storage
upstream/terraform
This issue is blocked on an upstream issue within Terraform (Terraform Core/CLI, The Plugin SDK etc)
v/2.x (legacy)
v/3.x
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_storage_container
azurerm_storage_account
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
azurerm_storage_container should be recreated when storage account is being replaced
Actual Behaviour
after terraform apply container does not exist because account was recreated, container was not included in the plan (container cannot exist without account so this was wrong assumption)
Steps to Reproduce
terraform apply
is_hns_enabled -> true
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: