From 67f2d9efa005c75412b0a4036b6b2ef9384a4dc7 Mon Sep 17 00:00:00 2001 From: sushmithakumar Date: Tue, 7 Jan 2025 15:02:49 +0530 Subject: [PATCH] fix: Replace deprecated splat expression with [*] for Terraform 1.5.6 compatibility --- src/kms.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kms.tf b/src/kms.tf index 74af462..7b6976f 100644 --- a/src/kms.tf +++ b/src/kms.tf @@ -39,7 +39,7 @@ data "aws_iam_policy_document" "kms_key_rds" { type = "AWS" identifiers = [ - format("arn:${join("", data.aws_partition.current.*.partition)}:iam::%s:root", join("", data.aws_caller_identity.current.*.account_id)) + format("arn:%s:iam::%s:root", join("", data.aws_partition.current[*].partition), join("", data.aws_caller_identity.current[*].account_id)) ] } }