Skip to content

Commit

Permalink
fix: Use partition data source on VPC CNI IPv6 policy (#2161)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilunam authored Jul 20, 2022
1 parent 67e0f75 commit f2d67ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"]
}
}

Expand Down

0 comments on commit f2d67ff

Please sign in to comment.