Skip to content

Commit

Permalink
Update terraform_apply.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Oct 16, 2024
1 parent c4b26e9 commit dd7bab2
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/terraform_apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,6 @@ jobs:
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 }}

- name: debug outputs
run: |
echo "S3 Upload Path: ${{ steps.terraform_init.outputs.s3_upload_path }}"
echo "Commit SHA: ${{ steps.terraform_init.outputs.commit_sha }}"
- name: show me
if: ${{ steps.terraform_init.outputs.s3_upload_path == '' }}
run: echo "s3_upload_path is not populated"

- name: show me
if: ${{ steps.terraform_init.outputs.commit_sha == '' }}
run: echo "commit_sha is not populated"

- name: Terraform Plan
uses: CSVD/terraform-plan@main
Expand All @@ -106,7 +93,7 @@ jobs:
HTTP_PROXY: http://proxy.tco.census.gov:3128
HTTPS_PROXY: http://proxy.tco.census.gov:3128
NO_PROXY: ".census.gov,169.254.169.254,148.129.*,10.*,172.18.*,172.22.*,172.23.*,172.24.*,172.25.*,.eks.amazonaws.com,.s3.amazonaws.com,.amazonaws.com"
# This workflow contains a single job called "build"

Apply:
# The type of runner that the job will run on
runs-on: ["229685449397"]
Expand All @@ -119,7 +106,6 @@ jobs:
terraform_version: "1.9.1"
workspace: ${{ vars.terraform_workspace }}
commit_sha: ${{ steps.terraform_init.outputs.commit_sha }}
varfile: varfiles/${{ vars.terraform_workspace }}.tfvars
download_cache: true
setup_terraform: false
cache_key: ${{ needs.Plan.outputs.cache_key }}
Expand Down

0 comments on commit dd7bab2

Please sign in to comment.