mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 16:47:20 +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 {
|
statement {
|
||||||
sid = "CreateTags"
|
sid = "CreateTags"
|
||||||
actions = ["ec2: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