Created
September 27, 2022 06:54
-
-
Save sumansrivastava/a615f950692ad73b35e477c70470dceb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "random_id" "randomId" { | |
| keepers = { | |
| resource_group = azurerm_resource_group.resourcegroup.name | |
| } | |
| byte_length = 8 | |
| } | |
| resource "azurerm_storage_account" "storageaccount" { | |
| name = "diag${random_id.randomId.hex}" | |
| location = azurerm_resource_group.resourcegroup.location | |
| resource_group_name = azurerm_resource_group.resourcegroup.name | |
| account_tier = "Standard" | |
| account_replication_type = "LRS" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment