terraform-provider-azurerm
terraform-provider-azurerm copied to clipboard
Expand `azurerm_storage_account` argument `static_website{}` documentation or add a note to indicate that there is no need to create separate `azurerm_storage_container` named `$web`
Is there an existing issue for this?
- [X] I have searched the existing issues
Community Note
- Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Description
I am suggesting that there should be expansion of documentation or additional note for the resource azurerm_storage_account argument static_website{} telling users that there is no need to create a separate azurerm_storage_container resource with name $web, because after setting static_website{} block the storage container is created automatically and if the user still tries to create azurerm_storage_container with the name $web the similar error to this should show up:
So it might be confusing, especially for new users.
New or Affected Resource(s)/Data Source(s)
azurerm_storage_account
Potential Terraform Configuration
No response
References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account