mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 00:34:31 +01:00
fix: Use partition data source on VPC CNI IPv6 policy (#2161)
This commit is contained in:
@@ -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/*"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user