Skip to content

Commit

Permalink
Update terraform version (#2263)
Browse files Browse the repository at this point in the history
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 😅
  • Loading branch information
michaelkedar authored Jun 3, 2024
1 parent 7db9620 commit 6600ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
2 changes: 1 addition & 1 deletion docker/terraform/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6600ca5

Please sign in to comment.