Skip to content

Commit f2d67ff

Browse files
authored
fix: Use partition data source on VPC CNI IPv6 policy (#2161)
1 parent 67e0f75 commit f2d67ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node_groups.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ data "aws_iam_policy_document" "cni_ipv6_policy" {
3030
statement {
3131
sid = "CreateTags"
3232
actions = ["ec2:CreateTags"]
33-
resources = ["arn:aws:ec2:*:*:network-interface/*"]
33+
resources = ["arn:${data.aws_partition.current.partition}:ec2:*:*:network-interface/*"]
3434
}
3535
}
3636

0 commit comments

Comments
 (0)