Skip to content

Commit 4445fce

Browse files
committed
* 'develop' of https://github.com/awslabs/aws-lambda-powertools-python: chore(layers): replace layers account secret (aws-powertools#1329)
2 parents 9a0d999 + cc6d9db commit 4445fce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish_layer.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616
types:
1717
- completed
1818

19-
2019
jobs:
2120
build-layer:
2221
runs-on: ubuntu-latest
@@ -69,7 +68,7 @@ jobs:
6968
stage: "BETA"
7069
artefact-name: "cdk-layer-artefact"
7170
secrets:
72-
target-account-role: arn:aws:iam::${{ secrets.LAYERS_BETA_ACCOUNT }}:role/${{ secrets.AWS_GITHUB_OIDC_ROLE }}
71+
target-account-role: ${{ secrets.AWS_LAYERS_BETA_ROLE_ARN }}
7372

7473
deploy-prod:
7574
needs:
@@ -79,4 +78,4 @@ jobs:
7978
stage: "PROD"
8079
artefact-name: "cdk-layer-artefact"
8180
secrets:
82-
target-account-role: arn:aws:iam::${{ secrets.LAYERS_PROD_ACCOUNT }}:role/${{ secrets.AWS_GITHUB_OIDC_ROLE }}
81+
target-account-role: ${{ secrets.AWS_LAYERS_PROD_ROLE_ARN }}

0 commit comments

Comments
 (0)