Omitting default_action
should result in a deployment failure.
#4006
Labels
default_action
should result in a deployment failure.
#4006
Community Note
Terraform (and AzureRM Provider) Version
Terraform: 0.12.6
Provider: 1.32.1
Affected Resource(s)
azurerm_storage_account
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
If the required attribute
default_action
within thenetwork_rules
section is omitted, Terraform should fail to deploy.Initially we never used this attribute and our Azure Storage Accounts were not publically accessible. We only noticed recently that it's no longer the case. After reviewing the provider documentation we became aware of the required
default_action
attribute which we did not have, and although it's required, our deployments have been successful.Actual Behavior
Successful deployment. I assume that if it's omitted, it defaults to
Allow
.Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: