Skip to content

Commit c586760

Browse files
committed
Ensures use of dynamic DNS suffix in test
1 parent ffc5102 commit c586760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/emr/cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4054,7 +4054,7 @@ resource "aws_iam_policy" "emr_placementgroup" {
40544054
"Resource": "${aws_iam_role.emr_instance_profile.arn}",
40554055
"Condition": {
40564056
"StringLike": {
4057-
"iam:PassedToService": "ec2.amazonaws.com*"
4057+
"iam:PassedToService": "ec2.${data.aws_partition.current.dns_suffix}*"
40584058
}
40594059
}
40604060
}]

0 commit comments

Comments
 (0)