From 9316ee580112442dc30016687dd2fea2bf5c93a3 Mon Sep 17 00:00:00 2001 From: Tyson Miller <56799434+Tyson-miller@users.noreply.github.com> Date: Wed, 15 Nov 2023 08:56:42 -0800 Subject: [PATCH] move aws creds to env --- .github/workflows/terraform-plan.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/terraform-plan.yml b/.github/workflows/terraform-plan.yml index a585e9f..7ea83e2 100644 --- a/.github/workflows/terraform-plan.yml +++ b/.github/workflows/terraform-plan.yml @@ -11,14 +11,10 @@ jobs: runs-on: ubuntu-latest name: Create terraform plan env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + AWS_ACCESS_KEY_ID: ${{secrets.INCUBATOR_AWS_ACCESS_KEY_ID}} + AWS_SECRET_ACCESS_KEY: ${{secrets.INCUBATOR_AWS_SECRET_ACCESS_KEY}} steps: - - 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_PROD }} - name: Checkout uses: actions/checkout@v3