Skip to content

Commit

Permalink
Replace add-mask with mask-aws-account-id in configure-aws-credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptSmith committed Oct 6, 2023
1 parent 5962996 commit 127e981
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ jobs:
role-to-assume: ${{ secrets.API_ROLE_ARN }}
role-duration-seconds: 1800
output-credentials: true
mask-aws-account-id: true
- name: Deploy base stack
working-directory: deployment
run: |
echo "::add-mask::${{ secrets.ACCOUNT_ID }}"
cdk deploy TranscriptionStack
run: cdk deploy TranscriptionStack
- name: Save FrontEndEnvironment to file
working-directory: frontend
run: aws cloudformation describe-stacks --stack-name ${{ vars.ENVIRONMENT }}-transcription --query "Stacks[0].Outputs[?OutputKey=='FrontEndEnvironment'].OutputValue" --output text > .env.production
Expand All @@ -71,8 +70,7 @@ jobs:
role-to-assume: ${{ secrets.FRONTEND_ROLE_ARN }}
role-duration-seconds: 1800
output-credentials: true
mask-aws-account-id: true
- name: Deploy frontend stack
working-directory: deployment
run: |
echo "::add-mask::${{ secrets.ACCOUNT_ID }}"
cdk deploy TranscriptionFrontEndStack
run: cdk deploy TranscriptionFrontEndStack

0 comments on commit 127e981

Please sign in to comment.