File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ jobs:
36
36
template : cloud-formation/ecr.yaml
37
37
no-fail-on-empty-changeset : 1
38
38
39
-
40
39
- name : Beta Deploy User
41
40
uses : aws-actions/aws-cloudformation-github-deploy@v1
42
41
with :
43
42
name : GoCaptureBetaDeployUser
44
43
template : cloud-formation/beta-deploy-user.yaml
44
+ parameter-overrides : EcrStackName=${{ steps.ecr-stack-name.outputs.ECR_STACK_NAME }}
45
45
capabilities : CAPABILITY_NAMED_IAM
46
46
no-fail-on-empty-changeset : 1
47
47
Original file line number Diff line number Diff line change 1
1
AWSTemplateFormatVersion : " 2010-09-09"
2
+ Parameters :
3
+ EcrStackName :
4
+ Type : String
2
5
Resources :
3
6
BetaDeployUser :
4
7
Type : AWS::IAM::User
@@ -23,6 +26,8 @@ Resources:
23
26
- ecr:DescribeRepositories
24
27
- ecr:GetDownloadUrlForLayer
25
28
- ecr:ListImages
26
- Resource : !ImportValue GoCaptureECR-RepositoryArn
29
+ Resource :
30
+ Fn::ImportValue :
31
+ Fn::Sub : ${EcrStackName}-RepositoryArn
27
32
Users :
28
33
- !Ref BetaDeployUser
You can’t perform that action at this time.
0 commit comments