Skip to content

Commit c1603a5

Browse files
committed
Add AssumeRolePolicyDocument for TaskRole
1 parent c0857d0 commit c1603a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cloud-formation/ecs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Resources:
1414
Type: AWS::IAM::Role
1515
Properties:
1616
RoleName: GoCaptureTaskRole
17+
AssumeRolePolicyDocument:
18+
Statement:
19+
- Effect: Allow
20+
Action: sts:AssumeRole
21+
Principle:
22+
Service: ecs-tasks.amazonaws.com
1723
Path: /gocapture/
1824
Cluster:
1925
Type: AWS::ECS::Cluster

0 commit comments

Comments
 (0)