Skip to content

Commit

Permalink
Update teardown.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
86LAK authored May 1, 2024
1 parent 5064e68 commit e9babba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Teardown to AWS
run: |
echo "::add-mask::${{ github.event.inputs.awsCredentials }}" > credentials.txt >/dev/null
echo "::set-env name=AWS_CREDENTIALS::${{ github.event.inputs.awsCredentials }}"
export AWS_ACCESS_KEY_ID=$(grep -oP '(?<=AWS_ACCESS_KEY_ID=)\S+' credentials.txt)
export AWS_SECRET_ACCESS_KEY=$(grep -oP '(?<=AWS_SECRET_ACCESS_KEY=)\S+' credentials.txt)
export AWS_SESSION_TOKEN=$(grep -oP '(?<=AWS_SESSION_TOKEN=)\S+' credentials.txt)
Expand Down

0 comments on commit e9babba

Please sign in to comment.