Skip to content

Commit

Permalink
style: gratify terraform linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensho committed Apr 10, 2023
1 parent 4228250 commit 150cbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "random_id" "bucket_suffix" {
}

locals {
suffix = var.randomize_suffix ? random_id.bucket_suffix.0.hex : ""
suffix = var.randomize_suffix ? random_id.bucket_suffix[0].hex : ""
names_set = toset(var.names)
buckets_list = [for name in var.names : google_storage_bucket.buckets[name]]
first_bucket = local.buckets_list[0]
Expand Down

0 comments on commit 150cbb7

Please sign in to comment.