Skip to content

Commit

Permalink
fix: Remove deprecated list() function usage (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante committed Mar 29, 2021
1 parent b33d674 commit 1fe315a
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 @@ -15,7 +15,7 @@
*/

locals {
prefix = var.prefix == "" ? "" : join("-", list(var.prefix, lower(var.location), ""))
prefix = var.prefix == "" ? "" : join("-", [var.prefix, lower(var.location), ""])
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 1fe315a

Please sign in to comment.