Skip to content

Commit

Permalink
feat: update terraform to 12.29 and terraform-validator to 2020-09-24 (
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelaramie authored Oct 26, 2020
1 parent b81dc83 commit 74d7ef2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions modules/cloudbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ Functional examples and sample Cloud Build definitions are included in the [exam
| terraform\_sa\_email | Email for terraform service account. | `string` | n/a | yes |
| terraform\_sa\_name | Fully-qualified name of the terraform service account. | `string` | n/a | yes |
| terraform\_state\_bucket | Default state bucket, used in Cloud Build substitutions. | `string` | n/a | yes |
| terraform\_validator\_release | Default terraform-validator release. | `string` | `"2020-03-05"` | no |
| terraform\_version | Default terraform version. | `string` | `"0.12.24"` | no |
| terraform\_version\_sha256sum | sha256sum for default terraform version. | `string` | `"602d2529aafdaa0f605c06adb7c72cfb585d8aa19b3f4d8d189b42589e27bf11"` | no |
| terraform\_validator\_release | Default terraform-validator release. | `string` | `"2020-09-24"` | no |
| terraform\_version | Default terraform version. | `string` | `"0.12.29"` | no |
| terraform\_version\_sha256sum | sha256sum for default terraform version. | `string` | `"872245d9c6302b24dc0d98a1e010aef1e4ef60865a2d1f60102c8ad03e9d5a1d"` | no |

## Outputs

Expand Down
6 changes: 3 additions & 3 deletions modules/cloudbuild/cloudbuild_builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
FROM gcr.io/cloud-builders/gcloud-slim

# Use ARG so that values can be overriden by user/cloudbuild
ARG TERRAFORM_VERSION=0.12.24
ARG TERRAFORM_VERSION_SHA256SUM=602d2529aafdaa0f605c06adb7c72cfb585d8aa19b3f4d8d189b42589e27bf11
ARG TERRAFORM_VALIDATOR_RELEASE=2020-03-05
ARG TERRAFORM_VERSION=0.12.29
ARG TERRAFORM_VERSION_SHA256SUM=872245d9c6302b24dc0d98a1e010aef1e4ef60865a2d1f60102c8ad03e9d5a1d
ARG TERRAFORM_VALIDATOR_RELEASE=2020-09-24

ENV ENV_TERRAFORM_VERSION=$TERRAFORM_VERSION
ENV ENV_TERRAFORM_VERSION_SHA256SUM=$TERRAFORM_VERSION_SHA256SUM
Expand Down
6 changes: 3 additions & 3 deletions modules/cloudbuild/cloudbuild_builder/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
- name: 'gcr.io/${PROJECT_ID}/terraform'
args: ['version']
substitutions:
_TERRAFORM_VERSION: '0.12.24' # default value
_TERRAFORM_VERSION_SHA256SUM: '602d2529aafdaa0f605c06adb7c72cfb585d8aa19b3f4d8d189b42589e27bf11' # default value
_TERRAFORM_VALIDATOR_RELEASE: '2020-03-05'
_TERRAFORM_VERSION: '0.12.29' # default value
_TERRAFORM_VERSION_SHA256SUM: '872245d9c6302b24dc0d98a1e010aef1e4ef60865a2d1f60102c8ad03e9d5a1d' # default value
_TERRAFORM_VALIDATOR_RELEASE: '2020-09-24'
images: ['gcr.io/${PROJECT_ID}/terraform']
6 changes: 3 additions & 3 deletions modules/cloudbuild/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@ variable "folder_id" {
variable "terraform_version" {
description = "Default terraform version."
type = string
default = "0.12.24"
default = "0.12.29"
}

variable "terraform_version_sha256sum" {
description = "sha256sum for default terraform version."
type = string
default = "602d2529aafdaa0f605c06adb7c72cfb585d8aa19b3f4d8d189b42589e27bf11"
default = "872245d9c6302b24dc0d98a1e010aef1e4ef60865a2d1f60102c8ad03e9d5a1d"
}

variable "terraform_validator_release" {
description = "Default terraform-validator release."
type = string
default = "2020-03-05"
default = "2020-09-24"
}

variable "skip_gcloud_download" {
Expand Down

0 comments on commit 74d7ef2

Please sign in to comment.