-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
v0.13.0-beta releases break --version/-v flag #25304
Comments
Thanks! No worries, I tried to find an existing issue but searching for |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
v0.13.0-beta2
Terraform Configuration Files
n/a
Debug Output
Crash Output
Error parsing command-line flags: flag provided but not defined: -v
Expected Behavior
The version number should be printed like in 0.12
Actual Behavior
Terraform errors out.
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform -v
,terraform --version
, andterraform version
are working as expectedterraform -v
andterraform --version
are brokenterraform version
is working as expectedAdditional Context
In terraform 0.13 series, it broke the
--version/-v
flag. Oddly enoughterraform version
works. Even the instructions for this bug report instruct the user to useterraform -v
.Looks related to adding -json support to the version argument. Hopefully, this can be implemented in a backward-compatible way. I can take a stab at doing so.
References
#25252
The text was updated successfully, but these errors were encountered: