From 9e61a9204083dc4c1966e1c48db6ffe9050868c8 Mon Sep 17 00:00:00 2001 From: sushmithakumar Date: Fri, 20 Dec 2024 12:23:12 +0530 Subject: [PATCH] fix: Replace deprecated splat expression with [*] for Terraform 1.5.6 compatibility --- src/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.tf b/src/main.tf index 1e40992..3f6005c 100644 --- a/src/main.tf +++ b/src/main.tf @@ -1,6 +1,6 @@ locals { quotas = module.this.enabled ? { for k, v in var.quotas : k => v if v != null } : {} - service_name_set = toset(compact(values(local.quotas).*.service_name)) + service_name_set = toset(compact(values(local.quotas)[*].service_name)) quotas_with_service_codes = { for k, quota in local.quotas : k => { service_code = quota.service_code != null ? quota.service_code : data.aws_servicequotas_service.by_name[quota.service_name].service_code