Skip to content

Commit

Permalink
remove env context from with key
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 22, 2024
1 parent 16d3ee3 commit 4713276
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions .github/workflows/primary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 4713276

Please sign in to comment.