We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf5d2a commit 424f4c1Copy full SHA for 424f4c1
modules/karpenter/policy.tf
@@ -195,7 +195,7 @@ data "aws_iam_policy_document" "v033" {
195
condition {
196
test = "StringEquals"
197
variable = "iam:PassedToService"
198
- values = local.partition == "aws" ? ["ec2.amazonaws.com"] : ["ec2.amazonaws.com.cn"]
+ values = ["ec2.${local.dns_suffix}"]
199
}
200
201
@@ -584,7 +584,7 @@ data "aws_iam_policy_document" "v1" {
584
585
586
587
588
589
590
0 commit comments