diff --git a/.github/workflows/terraform_workflow.yml b/.github/workflows/terraform_workflow.yml index c1c503a..48a3316 100644 --- a/.github/workflows/terraform_workflow.yml +++ b/.github/workflows/terraform_workflow.yml @@ -2,6 +2,7 @@ name: terraform workflow permissions: write-all on: workflow_dispatch: + pull_request: jobs: networking: uses: clouddrove/github-shared-workflows/.github/workflows/terraform_workflow.yml@m1.0.6 @@ -14,5 +15,5 @@ jobs: terraform_version: 1.5.5 destroy: false secrets: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_SECRET_KEY }} \ No newline at end of file + AWS_ACCESS_KEY_ID: ${{ secrets.TEST_AWS_ACCESS_KEY }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_AWS_ACCESS_SECRET_KEY: }} \ No newline at end of file diff --git a/.github/workflows/tf-checks.yml b/.github/workflows/tf-checks.yml index e445e0d..418ec65 100644 --- a/.github/workflows/tf-checks.yml +++ b/.github/workflows/tf-checks.yml @@ -9,3 +9,7 @@ jobs: uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6 with: working_directory: './_examples/single-account/' + aws_credentials: true + secrets: + AWS_ACCESS_KEY_ID: ${{ secrets.TEST_AWS_ACCESS_KEY }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_AWS_ACCESS_SECRET_KEY }}