Skip to content

Commit

Permalink
Update terraform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1Mateus committed May 24, 2023
1 parent ac5967d commit b4c576c
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ jobs:
with:
version: 8.1.0

- name: Configure DigitalOcean credentials
run: |
aws configure --profile digitalocean set aws_access_key_id ${{ secrets.DO_ACCESS_KEY }}
aws configure --profile digitalocean set aws_secret_access_key ${{ secrets.DO_SECRET_ACCESS_KEY }}
- name: Set DigitalOcean Profile
run: |
echo "export AWS_PROFILE=digitalocean" >> $GITHUB_ENV
- aws-cli/setup:
aws-access-key-id: ${{ secrets.DO_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.DO_SECRET_ACCESS_KEY }}

# - name: Configure DigitalOcean credentials
# run: |
# aws configure --profile digitalocean set aws_access_key_id ${{ secrets.DO_ACCESS_KEY }}
# aws configure --profile digitalocean set aws_secret_access_key ${{ secrets.DO_SECRET_ACCESS_KEY }}

# - name: Set DigitalOcean Profile
# run: |
# echo "export AWS_PROFILE=digitalocean" >> $GITHUB_ENV

- name: Create .tfvars file
run: |
Expand Down

0 comments on commit b4c576c

Please sign in to comment.