Skip to content

Commit 9b1ecee

Browse files
committed
count with random_id on rg list'
1 parent d39f182 commit 9b1ecee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloud_Azure/terraform/module/storage_account.tf

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Prepare names that meet Azure Storage Account naming restrictions (only alphanum letters, max 24 length, Azure-wide unique)
22
resource "random_id" "storage_account_id" {
3+
count = length(var.resource_group_names)
34
byte_length = 6 # 6 bytes = 12 characters when base64 encoded
45
}
56

0 commit comments

Comments
 (0)