From 6600ca59b86b261c105217d28c1c1e5b26d58ef3 Mon Sep 17 00:00:00 2001 From: Michael Kedar Date: Mon, 3 Jun 2024 13:52:25 +1000 Subject: [PATCH] Update terraform version (#2263) I'd like to use an [import block](https://developer.hashicorp.com/terraform/language/v1.5.x/import) to help import the datastore into terraform, which was introduced in v1.5. Please also update your local terraform versions to at least 1.5. 1.5.7 isn't the latest version of terraform, but version 1.6 is when they changed their license and I don't really understand those ramifications :sweat_smile: --- docker/terraform/README.md | 4 ++-- docker/terraform/cloudbuild.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/terraform/README.md b/docker/terraform/README.md index 49f9e494f08..84a85da7744 100644 --- a/docker/terraform/README.md +++ b/docker/terraform/README.md @@ -18,10 +18,10 @@ steps: ``` ## Updating Terraform Version -`_TERRAFORM_VERSION` is defined in `cloudbuild.yaml`. Currently version 1.3.8 +`_TERRAFORM_VERSION` is defined in `cloudbuild.yaml`. Currently version 1.5.7 This can be modified in place, or set in Cloud Build CLI: ``` gcloud builds submit --project=oss-vdb --config=cloudbuild.yaml \ - --substitutions=_TERRAFORM_VERSION="1.3.8" + --substitutions=_TERRAFORM_VERSION="1.5.7" ``` diff --git a/docker/terraform/cloudbuild.yaml b/docker/terraform/cloudbuild.yaml index 5986cbac27b..1a28666afac 100644 --- a/docker/terraform/cloudbuild.yaml +++ b/docker/terraform/cloudbuild.yaml @@ -2,7 +2,7 @@ # In this directory, run the following command to build this builder. # $ gcloud builds submit . --config=cloudbuild.yaml substitutions: - _TERRAFORM_VERSION: 1.3.8 + _TERRAFORM_VERSION: 1.5.7 steps: - name: 'gcr.io/cloud-builders/docker' env: