From 71758f4defa351af16198152f3db0d2eea8e0c48 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Wed, 10 Apr 2024 15:39:12 -0600 Subject: [PATCH] terraform: pin to 1.7.5 until 1.8.0 crash is resolved (#26356) Signed-off-by: Ryan Cragun --- .github/workflows/enos-lint.yml | 1 + .github/workflows/enos-run-k8s.yml | 1 + .github/workflows/test-ci-bootstrap.yml | 2 ++ .github/workflows/test-enos-scenario-ui.yml | 1 + .github/workflows/test-run-enos-scenario-matrix.yml | 1 + 5 files changed, 6 insertions(+) diff --git a/.github/workflows/enos-lint.yml b/.github/workflows/enos-lint.yml index c074e929ce27..b6760572f0aa 100644 --- a/.github/workflows/enos-lint.yml +++ b/.github/workflows/enos-lint.yml @@ -41,6 +41,7 @@ jobs: - uses: hashicorp/setup-terraform@v3 with: terraform_wrapper: false + terraform_version: "1.7.5" # Pin until 1.8.x crash has been resolved - uses: hashicorp/action-setup-enos@v1 with: github-token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} diff --git a/.github/workflows/enos-run-k8s.yml b/.github/workflows/enos-run-k8s.yml index 3a8d3348357a..2ab945183982 100644 --- a/.github/workflows/enos-run-k8s.yml +++ b/.github/workflows/enos-run-k8s.yml @@ -38,6 +38,7 @@ jobs: # the Terraform wrapper will break Terraform execution in Enos because # it changes the output to text when we expect it to be JSON. terraform_wrapper: false + terraform_version: "1.7.5" # Pin until 1.8.x crash has been resolved - name: Set up Enos uses: hashicorp/action-setup-enos@v1 with: diff --git a/.github/workflows/test-ci-bootstrap.yml b/.github/workflows/test-ci-bootstrap.yml index 8eef283c9f3a..8856eb88001a 100644 --- a/.github/workflows/test-ci-bootstrap.yml +++ b/.github/workflows/test-ci-bootstrap.yml @@ -32,6 +32,8 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set up Terraform uses: hashicorp/setup-terraform@v3 + with: + terraform_version: "1.7.5" # Pin until 1.8.x crash has been resolved - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: diff --git a/.github/workflows/test-enos-scenario-ui.yml b/.github/workflows/test-enos-scenario-ui.yml index c45dfee9242c..6419b6acf9cc 100644 --- a/.github/workflows/test-enos-scenario-ui.yml +++ b/.github/workflows/test-enos-scenario-ui.yml @@ -90,6 +90,7 @@ jobs: with: cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} terraform_wrapper: false + terraform_version: "1.7.5" # Pin until 1.8.x crash has been resolved - name: Prepare scenario dependencies run: | mkdir -p ./enos/support/terraform-plugin-cache diff --git a/.github/workflows/test-run-enos-scenario-matrix.yml b/.github/workflows/test-run-enos-scenario-matrix.yml index 96961690a65f..f354233faf26 100644 --- a/.github/workflows/test-run-enos-scenario-matrix.yml +++ b/.github/workflows/test-run-enos-scenario-matrix.yml @@ -107,6 +107,7 @@ jobs: # the Terraform wrapper will break Terraform execution in Enos because # it changes the output to text when we expect it to be JSON. terraform_wrapper: false + terraform_version: "1.7.5" # Pin until 1.8.x crash has been resolved - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_CI }}