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 4abc779 commit caf5d2aCopy full SHA for caf5d2a
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 = ["ec2.amazonaws.com"]
+ values = local.partition == "aws" ? ["ec2.amazonaws.com"] : ["ec2.amazonaws.com.cn"]
199
}
200
201
@@ -584,7 +584,7 @@ data "aws_iam_policy_document" "v1" {
584
585
586
587
588
589
590
0 commit comments