Skip to content

Commit

Permalink
fix(ci): use setup-terraform before any terraform command
Browse files Browse the repository at this point in the history
  • Loading branch information
Alenar committed Jan 29, 2025
1 parent a07e8d8 commit c4af45c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ runs:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false

- name: Prepare service account credentials
shell: bash
working-directory: mithril-infra
Expand Down Expand Up @@ -231,11 +236,6 @@ runs:
terraform fmt ./env.variables.tfvars
cat ./env.variables.tfvars
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false

- name: Init Terraform
shell: bash
working-directory: mithril-infra
Expand Down

0 comments on commit c4af45c

Please sign in to comment.