Skip to content

Commit

Permalink
chore: add iam permission (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyjtaylor authored Mar 9, 2024
1 parent 972aa53 commit 91e7736
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions infrastructure/src/constructs/oidc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ export default class OIDCProvider extends Construct {
new PolicyStatement({
sid: 'CdkEcrPermissions',
actions: [
'ecr:DescribeImages',
'ecr:DescribeRepositories',
'ecr:CompleteLayerUpload',
'ecr:UploadLayerPart',
'ecr:InitiateLayerUpload',
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/src/images/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM node:20-alpine3.19 AS setup
RUN apk add --no-cache python3 make g++
RUN apk add --no-cache jq
RUN apk add --no-cache git
RUN apk add --no-cache aws-cli
RUN apk add --no-cache aws-cli

0 comments on commit 91e7736

Please sign in to comment.