Skip to content

Commit 53ed0d6

Browse files
committed
Add ECR
1 parent c785eb8 commit 53ed0d6

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [10.11.12]
88

99
### Changed
10-
- Expanded the hyp3-ci stack permissions for JPL deployments to allow listing CloudFormation stacks and CloudFormation permissions were expended to any region to support deploying HyP3-based monitoring stacks.
10+
- The hyp3-ci stack permission for JPL deployments were expended to support deploying HyP3-based monitoring stacks:
11+
- Listing CloudFormation stacks is now allowed.
12+
- CloudFormation permissions were expended to any region from just us-west-2.
13+
- ECR actions are now allowed.
1114

1215
## [10.11.11]
1316

cicd-stacks/JPL-deployment-policy-cf.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Resources:
1818
- dynamodb:*
1919
- ec2:*
2020
- ecs:*
21+
- ecr:GetAuthorizationToken
2122
- events:*
2223
- iam:CreateServiceLinkedRole
2324
- iam:DeleteServiceLinkedRole
@@ -60,6 +61,20 @@ Resources:
6061
- cloudformation:GetTemplateSummary
6162
Resource: !Sub "arn:aws:cloudformation:*:${AWS::AccountId}:stack/*"
6263

64+
- Effect: Allow
65+
Action:
66+
- ecr:BatchCheckLayerAvailability
67+
- ecr:GetDownloadUrlForLayer
68+
- ecr:DescribeRepositories
69+
- ecr:ListImages
70+
- ecr:DescribeImages
71+
- ecr:BatchGetImage
72+
- ecr:InitiateLayerUpload
73+
- ecr:UploadLayerPart
74+
- ecr:CompleteLayerUpload
75+
- ecr:PutImage
76+
Resource: !Sub "arn:aws:ecr:*:${AWS::AccountId}:repository/*"
77+
6378
ApiGatewayLoggingRole:
6479
Type: Custom::JplRole
6580
Properties:

0 commit comments

Comments
 (0)