File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ data "aws_iam_policy_document" "autoscaling" {
527527 condition {
528528 test = " ArnLike"
529529 variable = " aws:SourceArn"
530- values = [" arn:aws:elasticmapreduce:${ data . aws_region . current . name } :${ data . aws_caller_identity . current . account_id } :*" ]
530+ values = [" arn:aws:elasticmapreduce:${ data . aws_region . current . region } :${ data . aws_caller_identity . current . account_id } :*" ]
531531 }
532532 }
533533}
@@ -591,7 +591,7 @@ data "aws_iam_policy_document" "service" {
591591 condition {
592592 test = " ArnLike"
593593 variable = " aws:SourceArn"
594- values = [" arn:aws:elasticmapreduce:${ data . aws_region . current . name } :${ data . aws_caller_identity . current . account_id } :*" ]
594+ values = [" arn:aws:elasticmapreduce:${ data . aws_region . current . region } :${ data . aws_caller_identity . current . account_id } :*" ]
595595 }
596596 }
597597}
You can’t perform that action at this time.
0 commit comments