Skip to content

Commit

Permalink
Update GitHub credentials setup in terraform_plan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gomez385 committed Oct 15, 2024
1 parent 2e46265 commit a448763
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
runs-on: ["229685449397"]

env:
GITHUB_APP_INSTALLATION_ID: ${{ vars.GH_APP_INSTALLATION_ID }}
GITHUB_APP_PEM_FILE: ${{ secrets.GH_APP_PEM_FILE }}
GITHUB_OWNER: CSVD
GITHUB_BASE_URL: https://github.e.it.census.gov/
TF_WORKSPACE: ${{ vars.terraform_workspace }}
TF_CLI_ARGS_plan: -lock-timeout=30m
TF_CLI_ARGS_apply: -lock-timeout=30m
Expand Down Expand Up @@ -50,7 +46,7 @@ jobs:
with:
github_app_pem_file: ${{ secrets.GH_APP_PEM_FILE }}
github_app_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }}
github_base_url: ${{ vars.GITHUB_BASE_URL }}
github_base_url: ${{ github.server_url }}

- name: Terraform Init
uses: CSVD/terraform-init@main
Expand Down Expand Up @@ -96,10 +92,8 @@ jobs:
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 }}
GITHUB_OWNER: CSVD
GITHUB_BASE_URL: https://github.e.it.census.gov/
GITHUB_OWNER: ${{ github.repository_owner }}
GITHUB_BASE_URL: ${{ github.server_url }}
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"


0 comments on commit a448763

Please sign in to comment.