From 74a53f84e026e9190940a328bf430344068f0250 Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Wed, 16 Oct 2024 13:50:13 -0700 Subject: [PATCH] Update terraform_apply.yaml --- .github/workflows/terraform_apply.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/terraform_apply.yaml b/.github/workflows/terraform_apply.yaml index 75272d1..4cef2fa 100644 --- a/.github/workflows/terraform_apply.yaml +++ b/.github/workflows/terraform_apply.yaml @@ -21,6 +21,10 @@ jobs: outputs: commit_sha: "${{ steps.git_show.utputs.commit_sha }}" cache_key: ${{ steps.terraform_init.outputs.s3_upload_path }} + github_token: ${{ steps.github_credentials.outputs.github_token }} + aws_access_key_id: ${{ steps.aws_auth.outputs.aws_access_key_id }} + aws_secret_access_key: ${{ steps.aws_auth.outputs.aws_secret_access_key }} + aws_session_token: ${{ steps.aws_auth.outputs.aws_session_token }} runs-on: ["229685449397"] @@ -111,10 +115,10 @@ jobs: terraform_wrapper: false cache_key: ${{ needs.Plan.outputs.cache_key }} env: - AWS_ACCESS_KEY_ID: ${{ steps.aws_auth.outputs.aws_access_key_id }} - AWS_SECRET_ACCESS_KEY: ${{ steps.aws_auth.outputs.aws_secret_access_key }} - AWS_SESSION_TOKEN: ${{ steps.aws_auth.outputs.aws_session_token }} - GITHUB_TOKEN: ${{ steps.github_credentials.outputs.github_token }} + AWS_ACCESS_KEY_ID: ${{ needs.Plan.outputs.aws_access_key_id }} + AWS_SECRET_ACCESS_KEY: ${{ needs.Plan.outputs.aws_secret_access_key }} + AWS_SESSION_TOKEN: ${{ needs.Plan.outputs.aws_session_token }} + GITHUB_TOKEN: ${{ needs.Plan.outputs.github_token }} GITHUB_OWNER: ${{ github.repository_owner }} GITHUB_BASE_URL: "${{ github.server_url }}/" HTTP_PROXY: http://proxy.tco.census.gov:3128