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

Include the terraform version in the output of the version command #8

Merged
merged 3 commits into from
Jan 25, 2020

Conversation

gdavison
Copy link
Contributor

Include the terraform version in the output of the version command, since terrafmt calls out to terraform. Different versions of terraform could have different formatting versions.

Question: If the installed version of terraform is outdated, should that be included in the version output of terrafmt? Currently it is not included.

Copy link
Owner

@katbyte katbyte 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 this @gdavison, LGTM 🚀

@katbyte
Copy link
Owner

katbyte commented Jan 25, 2020

As for checking the latest version it can't hurt, i can see reasons to not update but showing + Terraform v0.12.20 (v0.12.22 available)

@katbyte katbyte merged commit 3b1f133 into katbyte:master Jan 25, 2020
@gdavison gdavison deleted the include_terraform_version branch August 13, 2020 22:33
@katbyte katbyte added this to the v0.3.0 milestone Jan 7, 2021
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.

2 participants