From e361073fcabd002f376666f53df690c8308bae8a Mon Sep 17 00:00:00 2001 From: Robert Fairburn <8029478+rfairburn@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:25:26 -0600 Subject: [PATCH] Update terraform version used in tfvalidate (#24699) --- .github/workflows/tfvalidate.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tfvalidate.yml b/.github/workflows/tfvalidate.yml index 6513377a08..209218ab47 100644 --- a/.github/workflows/tfvalidate.yml +++ b/.github/workflows/tfvalidate.yml @@ -41,8 +41,8 @@ jobs: - name: Install terraform uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3 with: - terraform_version: 1.3.0 - + terraform_version: 1.9.0 + # If we want to test more of these, consider using a matrix. With a matrix of directories, all terraform modules could be fully tested and potentially in parallel. - name: Validate loadtesting working-directory: ./infrastructure/loadtesting/terraform run: | @@ -54,3 +54,15 @@ jobs: run: | terraform init -backend=false terraform validate + + - name: Validate dogfood + working-directory: ./infrastructure/dogfood/terraform/aws-tf-module + run: | + terraform init -backend=false + terraform validate + + - name: Validate root terraform module + working-directory: ./terraform + run: | + terraform init -backend=false + terraform validate