Skip to content

Commit

Permalink
add setup terraform to all env
Browse files Browse the repository at this point in the history
  • Loading branch information
c1495616js committed Oct 15, 2024
1 parent be1f1c6 commit 4f6fa3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
role-to-assume: ${{secrets.AWS_SA_ROLE_ARN}}
aws-region: ca-central-1

- name: setup terraform
uses: hashicorp/setup-terraform@v3

- name: Terraform apply
run: make apply

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
with:
role-to-assume: ${{secrets.AWS_SA_ROLE_ARN}}
aws-region: ca-central-1

- name: setup terraform
uses: hashicorp/setup-terraform@v3

- name: Setup Infra
run: make apply
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-check-tf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
role-to-assume: ${{secrets.AWS_SA_ROLE_ARN}}
aws-region: ca-central-1

- name: setup terraform
uses: hashicorp/setup-terraform@v3

- name: Terraform Plan
id: plan
run: make plan
Expand Down

0 comments on commit 4f6fa3d

Please sign in to comment.