Skip to content

Commit 67f2d9e

Browse files
fix: Replace deprecated splat expression with [*] for Terraform 1.5.6 compatibility
1 parent 75f93c8 commit 67f2d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kms.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ data "aws_iam_policy_document" "kms_key_rds" {
3939
type = "AWS"
4040

4141
identifiers = [
42-
format("arn:${join("", data.aws_partition.current.*.partition)}:iam::%s:root", join("", data.aws_caller_identity.current.*.account_id))
42+
format("arn:%s:iam::%s:root", join("", data.aws_partition.current[*].partition), join("", data.aws_caller_identity.current[*].account_id))
4343
]
4444
}
4545
}

0 commit comments

Comments
 (0)