You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bengaywins
changed the title
Unknown command should bail with non-zero exit code in workspace cmd
Unknown workspace sub-command should bail with non-zero exit code
Jun 24, 2022
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
Terraform Configuration Files
N/A
Debug Output
N/A
Expected Behavior
If I run
terraform workspace seleect foo
, it should bail with non-zero exit code.Actual Behavior
It bails with a 0 exit code.
Steps to Reproduce
terraform workspace seleect foo
echo $?
Additional Context
I had this misspelled in a Makefile which is why I caught this. It just continues instead of failing.
References
N/A
The text was updated successfully, but these errors were encountered: