-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add -no-color argument to terraform validation #5843
Add -no-color argument to terraform validation #5843
Conversation
1e87fe7
to
9609ea8
Compare
Looks sensible to me. Do you happen to know if |
@felixfontein According to the very first release tag 0.1.0, yes, way before validate command was added in 0.6.12 (February 24, 2016). I could a more meaningul error message in case of I thought about specifying the minimum version in the module docstring as well, but that would be quite a task on its own - validating each subcommand and argument this module uses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also looks good to me.
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5846 🤖 @patchback |
@kristianheljas thanks for fixing this! |
(cherry picked from commit 44172dd)
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5847 🤖 @patchback |
(cherry picked from commit 44172dd)
…aform validation (#5847) Add -no-color argument to terraform validation (#5843) (cherry picked from commit 44172dd) Co-authored-by: Kristian Heljas <[email protected]>
…aform validation (#5846) Add -no-color argument to terraform validation (#5843) (cherry picked from commit 44172dd) Co-authored-by: Kristian Heljas <[email protected]>
SUMMARY
When terraform validation step failed, ansible produced output with ANSI escape codes due to missing
-no-color
argumentFixes #5816
ISSUE TYPE
COMPONENT NAME
terraform
ADDITIONAL INFORMATION
Before:
After: