Support during plan phase for azurerm_storage_account to validate for name uniqueness. #23791
Open
1 task done
Labels
enhancement
service/storage
upstream/terraform
This issue is blocked on an upstream issue within Terraform (Terraform Core/CLI, The Plugin SDK etc)
Is there an existing issue for this?
Community Note
Description
The
azurerm_storage_account
resource requires a globally unique name (global across Azure's storage account platform).Currently, there is no validation taking place during the plan phase to check if the proposed name is, in fact, globally unique.
I would think that this should be easy enough to test for during the plan phase of a deployment, assuming the name is not "known after apply." I assume that validation could be skipped in instances where the name can't be known prior to the apply phase.
Having the plan succeed only to have the apply fail can be quite time consuming so having more checks done prior to the apply would be very helpful.
Thanks!
New or Affected Resource(s)/Data Source(s)
azurerm_storage_account
Potential Terraform Configuration
N/A
References
No response
The text was updated successfully, but these errors were encountered: