Skip to content

Commit 0348d3d

Browse files
fix ecs role
1 parent b7fb66e commit 0348d3d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cicd/1-setup/cicd-dependencies.template.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,17 @@ Resources:
103103
Action:
104104
- sts:AssumeRole
105105
Policies:
106+
- PolicyName: ECRPolicy
107+
PolicyDocument:
108+
Version: "2012-10-17"
109+
Statement:
110+
- Effect: Allow
111+
Action:
112+
- ecr:GetAuthorizationToken
113+
- ecr:BatchCheckLayerAvailability
114+
- ecr:GetDownloadUrlForLayer
115+
- ecr:BatchGetImage
116+
Resource: "*"
106117
- PolicyName: LogsPolicy
107118
PolicyDocument:
108119
Version: "2012-10-17"

0 commit comments

Comments
 (0)