Skip to content

Commit 849a4ab

Browse files
committed
add aws cli
1 parent b5c25e6 commit 849a4ab

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/terraform_destroy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@ jobs:
3131

3232
# Configure AWS credentials
3333
- name: Configure AWS credentials
34-
uses: aws-actions/configure-aws-credentials@v1
35-
with:
36-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
37-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
38-
aws-region: ap-northeast-2
39-
40-
- run: cat ~/.aws/credentials
34+
run: aws --version
35+
env:
36+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
37+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
38+
AWS_DEFAULT_REGION: ap-northeast-2
4139

4240
# Create terraform.prod.tfvars file
4341
- name: Create terraform.prod.tfvars file

0 commit comments

Comments
 (0)