From 8087eff28b0404dfabfa72b84d6cb96b37cbf1a3 Mon Sep 17 00:00:00 2001 From: Yousif Akbar <11247449+yhakbar@users.noreply.github.com> Date: Wed, 8 Oct 2025 13:39:15 -0400 Subject: [PATCH] chore: Cleaning up usage of `AUTH_PROVIDER_CMD` --- .github/workflows/pipelines-root.yml | 6 ------ .github/workflows/pipelines.yml | 2 -- 2 files changed, 8 deletions(-) diff --git a/.github/workflows/pipelines-root.yml b/.github/workflows/pipelines-root.yml index b5dfb55..28b4f80 100644 --- a/.github/workflows/pipelines-root.yml +++ b/.github/workflows/pipelines-root.yml @@ -296,8 +296,6 @@ jobs: id: provision_new_account if: ${{ matrix.jobs.ChangeType == 'AccountsRequested' }} uses: ./pipelines-actions/.github/actions/pipelines-provision-account-action - env: - TERRAGRUNT_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10" with: PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }} PR_COMMENT_WRITE_TOKEN: ${{ steps.pipelines-propose-infra-change-token.outputs.PIPELINES_TOKEN }} @@ -339,8 +337,6 @@ jobs: - name: "Run core accounts baselines" id: core_accounts_baselines if: ${{ matrix.jobs.ChangeType == 'AccountsAdded' }} - env: - TG_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10" # TODO: Rename this as pipelines-apply-core-baselines or something similar uses: ./pipelines-actions/.github/actions/pipelines-baseline-account-action with: @@ -360,8 +356,6 @@ jobs: id: terragrunt if: ${{ (matrix.jobs.ChangeType != 'AccountsRequested') && (matrix.jobs.ChangeType != 'AccountsAdded') }} uses: ./pipelines-actions/.github/actions/pipelines-execute - env: - TG_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10" with: PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }} PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }} diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index b42d5e2..8c845f0 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -234,8 +234,6 @@ jobs: - name: "[TerragruntExecute]: Run terragrunt ${{ matrix.jobs.Action.Command }} in ${{ matrix.jobs.WorkingDirectory }}" id: terragrunt uses: ./pipelines-actions/.github/actions/pipelines-execute - env: - TG_AUTH_PROVIDER_CMD: "pipelines auth terragrunt-credentials --ci github-actions --cloud aws --wd . --disk-cache-duration-minutes 10" with: PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }} PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}