Skip to content

Commit

Permalink
add aws creds
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Mar 26, 2024
1 parent 7dca448 commit b6d49f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/iac_validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ env:
tf_version: '1.6.2'
tg_version: '0.55.15'
environment: 'stage'
AWS_REGION: us-east-1

jobs:
validate-iac:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
- name: install opentofu
uses: opentofu/setup-opentofu@v1
with:
Expand Down

0 comments on commit b6d49f8

Please sign in to comment.