Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ecs/service-cluster-alb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Resources:
Type: 'AWS::IAM::Role'
Properties:
ManagedPolicyArns:
- 'arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole'
- !Sub 'arn:${AWS::Partition}:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole'
AssumeRolePolicyDocument:
Version: '2008-10-17'
Statement:
Expand Down
2 changes: 1 addition & 1 deletion ecs/service-dedicated-alb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ Resources:
Type: 'AWS::IAM::Role'
Properties:
ManagedPolicyArns:
- 'arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole'
- !Sub 'arn:${AWS::Partition}:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole'
AssumeRolePolicyDocument:
Version: '2008-10-17'
Statement:
Expand Down
4 changes: 2 additions & 2 deletions security/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Resources:
Type: 'AWS::IAM::Role'
Properties:
ManagedPolicyArns:
- 'arn:aws:iam::aws:policy/service-role/AWSConfigRole'
- !Sub 'arn:${AWS::Partition}:iam::aws:policy/service-role/AWSConfigRole'
AssumeRolePolicyDocument:
Version: '2012-10-17'
Statement:
Expand Down Expand Up @@ -144,7 +144,7 @@ Resources:
Type: 'AWS::IAM::Role'
Properties:
ManagedPolicyArns:
- 'arn:aws:iam::aws:policy/service-role/AWSConfigRole'
- !Sub 'arn:${AWS::Partition}:iam::aws:policy/service-role/AWSConfigRole'
AssumeRolePolicyDocument:
Version: '2012-10-17'
Statement:
Expand Down

0 comments on commit 4b5f491

Please sign in to comment.