Skip to content

Commit

Permalink
add aws
Browse files Browse the repository at this point in the history
  • Loading branch information
falconlee236 committed Nov 1, 2024
1 parent f1e7c4b commit ebbfd3f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/terraform_destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ jobs:

# Configure AWS credentials
- name: Configure AWS credentials
run: aws configure --profile falconlee236
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ap-northeast-2
run: aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} --profile falconlee236
- run: aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} --profile falconlee236

# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_DEFAULT_REGION: ap-northeast-2

# Create terraform.prod.tfvars file
- name: Create terraform.prod.tfvars file
Expand Down

0 comments on commit ebbfd3f

Please sign in to comment.