Skip to content

Commit cc6d9db

Browse files
authored
chore(layers): replace layers account secret (#1329)
1 parent 603bc53 commit cc6d9db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: .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)