Skip to content

Commit

Permalink
Install Terraform to make sure terratest can see it
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed Oct 14, 2024
1 parent fb23470 commit 44c65cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/run.e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ jobs:
run: |
cp -R .ize/env/${{ env.ENV }}/*.* examples/${{ matrix.name }}/
# TODO: This should be replaced by better ize integration
- name: "Setup Terraform"
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.1.3"

- name: Go TF Test
working-directory: test
run: |
Expand Down
1 change: 0 additions & 1 deletion test/examples_complete-web_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ func TestExamplesCompleteWeb(t *testing.T) {
varFiles := []string{tempTestFolder + "/terraform.tfvars"}

terraformOptions := &terraform.Options{
TerraformBinary: "ize terraform",
// The path to where our Terraform code is located
TerraformDir: tempTestFolder,
Upgrade: true,
Expand Down

0 comments on commit 44c65cc

Please sign in to comment.