From 47132766e9ad2e9192be8d3086293763b2df3f98 Mon Sep 17 00:00:00 2001 From: Jo Date: Mon, 22 Apr 2024 13:07:51 -0400 Subject: [PATCH] remove env context from with key --- .github/workflows/primary.yaml | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/.github/workflows/primary.yaml b/.github/workflows/primary.yaml index e2132e4d0..aaa0a47f3 100644 --- a/.github/workflows/primary.yaml +++ b/.github/workflows/primary.yaml @@ -11,11 +11,6 @@ permissions: id-token: write contents: read -env: - TF_VERSION: '1.6.2' - TG_VERSION: '0.55.15' - AWS_REGION: us-east-1 - jobs: detect-changes: runs-on: ubuntu-latest @@ -48,9 +43,9 @@ jobs: environment: [stage, production] uses: ./.github/workflows/verify-iac.yaml with: - tf_version: $TF_VERSION - tg_version: $TG_VERSION - aws_region: $AWS_REGION + tf_version: 1.6.2 + tg_version: 0.55.15 + aws_region: us-east-1 environment: ${{ matrix.environment }} secrets: inherit @@ -63,9 +58,9 @@ jobs: environment: [stage] uses: ./.github/workflows/apply-iac.yaml with: - tf_version: $TF_VERSION - tg_version: $TG_VERSION - aws_region: $AWS_REGION + tf_version: 1.6.2 + tg_version: 0.55.15 + aws_region: us-east-1 environment: ${{ matrix.environment }} secrets: inherit @@ -83,9 +78,9 @@ jobs: environment: [stage, production] uses: ./.github/workflows/verify-backend.yaml with: - tf_version: $TF_VERSION - tg_version: $TG_VERSION - aws_region: $AWS_REGION + tf_version: 1.6.2 + tg_version: 0.55.15 + aws_region: us-east-1 environment: ${{ matrix.environment }} secrets: inherit @@ -98,9 +93,9 @@ jobs: environment: [stage] uses: ./.github/workflows/deploy-backend.yaml with: - tf_version: $TF_VERSION - tg_version: $TG_VERSION - aws_region: $AWS_REGION + tf_version: 1.6.2 + tg_version: 0.55.15 + aws_region: us-east-1 environment: ${{ matrix.environment }} secrets: inherit @@ -109,7 +104,7 @@ jobs: if: github.ref == 'refs/heads/main' && needs.detect-changes.outputs.run-frontend == 'true' uses: ./.github/workflows/deploy-frontend.yaml with: - aws_region: $AWS_REGION + aws_region: us-east-1 bucket: tb-apmt-stage-frontend build_environment: staging secrets: inherit