Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!fix: Drop old TFV version (< v0.6.0) support #141

Merged
merged 8 commits into from
Dec 20, 2021
Merged

!fix: Drop old TFV version (< v0.6.0) support #141

merged 8 commits into from
Dec 20, 2021

Conversation

@comment-bot-dev
Copy link

comment-bot-dev commented Dec 15, 2021

Thanks for the PR! 🚀
✅ Lint checks have passed.

@vovinacci vovinacci changed the title !fix: Drop old TFV version support !fix: Drop old TFV version (< v0.6.0) support Dec 15, 2021
@@ -146,7 +146,7 @@ variable "terraform_version_sha256sum" {
variable "terraform_validator_release" {
description = "Default terraform-validator release."
type = string
default = "v0.4.0"
default = "v0.6.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a validation rule to only support 0.6+?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

gsutil cp gs://terraform-validator/releases/${ENV_TERRAFORM_VALIDATOR_RELEASE}/terraform-validator-linux-amd64 /builder/terraform/terraform-validator && \
TERRAFORM_VALIDATOR_VERSION=$(echo $ENV_TERRAFORM_VALIDATOR_RELEASE | sed -e 's/^v//') && \
TERRAFORM_VALIDATOR_GCS_PATH=gs://terraform-validator/releases/${ENV_TERRAFORM_VALIDATOR_RELEASE}/terraform-validator_linux_amd64-${TERRAFORM_VALIDATOR_VERSION}.tar.gz && \
gsutil cat "${TERRAFORM_VALIDATOR_GCS_PATH}" | tar -zxv -C /builder/terraform terraform-validator && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@vovinacci vovinacci Dec 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Also updated Terraform to 0.13.7 - latest in 0.13. No real changes there, just public key update.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bharathkkb PR review comments addressed.

Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this @vovinacci

@bharathkkb bharathkkb merged commit 2b9bf2c into terraform-google-modules:master Dec 20, 2021
@release-please release-please bot mentioned this pull request Dec 20, 2021
@vovinacci vovinacci deleted the fix-tfv-download-path branch December 21, 2021 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform Validator v0.6.0 change to release binary format not handled by Cloud Build builder Dockerfile
3 participants