Skip to content

Commit

Permalink
Update terraform_apply.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Sep 23, 2024
1 parent 0e8892a commit c874665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform_apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Setup AWS Credentials
id: aws_credentials
run: |
curl -qL -o aws_credentials.json http://169.254.170.2/${AWS_CONTAINER_CREDENTIALS_RELATIVE_URI} > aws_credentials.json
aws configure set region $AWS_REGION
curl -qL -o aws_credentials.json ${AWS_CONTAINER_CREDENTIALS_FULL_URI} > aws_credentials.json
cat aws_credentials.json
aws configure set aws_access_key_id `jq -r '.AccessKeyId' aws_credentials.json`
echo AWS_ACCESS_KEY_ID=`jq -r '.AccessKeyId' aws_credentials.json` >> $GITHUB_ENV
aws configure set aws_secret_access_key `jq -r '.SecretAccessKey' aws_credentials.json`
Expand Down

0 comments on commit c874665

Please sign in to comment.