From 1fe315a8ab722d7f91b60e1c209bf938724eb371 Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Mon, 29 Mar 2021 14:58:01 -0400 Subject: [PATCH] fix: Remove deprecated list() function usage (#107) --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 9c44eb8d..3a1b9556 100644 --- a/main.tf +++ b/main.tf @@ -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]