diff --git a/node_groups.tf b/node_groups.tf index ca51f32c8c..402191f162 100644 --- a/node_groups.tf +++ b/node_groups.tf @@ -30,7 +30,7 @@ data "aws_iam_policy_document" "cni_ipv6_policy" { statement { sid = "CreateTags" actions = ["ec2:CreateTags"] - resources = ["arn:aws:ec2:*:*:network-interface/*"] + resources = ["arn:${data.aws_partition.current.partition}:ec2:*:*:network-interface/*"] } }