Skip to content

Commit 274efc3

Browse files
fix: Update EMR studio service role policy to RequestTags on Create* (#5)
1 parent 4d29ee5 commit 274efc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/studio/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ data "aws_iam_policy_document" "service" {
155155

156156
condition {
157157
test = "StringEquals"
158-
variable = "aws:ResourceTag/for-use-with-amazon-emr-managed-policies"
158+
variable = "aws:RequestTag/for-use-with-amazon-emr-managed-policies"
159159
values = ["true"]
160160
}
161161
}
@@ -179,7 +179,7 @@ data "aws_iam_policy_document" "service" {
179179

180180
condition {
181181
test = "StringEquals"
182-
variable = "aws:ResourceTag/for-use-with-amazon-emr-managed-policies"
182+
variable = "aws:RequestTag/for-use-with-amazon-emr-managed-policies"
183183
values = ["true"]
184184
}
185185

@@ -197,7 +197,7 @@ data "aws_iam_policy_document" "service" {
197197

198198
condition {
199199
test = "StringEquals"
200-
variable = "aws:ResourceTag/for-use-with-amazon-emr-managed-policies"
200+
variable = "aws:RequestTag/for-use-with-amazon-emr-managed-policies"
201201
values = ["true"]
202202
}
203203
}

0 commit comments

Comments
 (0)