-
Notifications
You must be signed in to change notification settings - Fork 9.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
feature request: terraform lint #1121
Comments
@pmoust this seems relevant to your interests: hashicorp/hcl#24 |
A round-trip from HCL to JSON and back would not quite be equivalent to I think to implement something like |
Implemented by @fatih at https://github.com/fatih/hclfmt |
Formatting discussion at https://github.com/fatih/hcl/issues/1 |
Just for anyone who stumbles across this and isn't familiar with the tool, there's tflint these days which can fill this gap: https://github.com/wata727/tflint |
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. |
This has been mentioned before, Github search fails me though.
I think a lot of terraform adopters would love a
terraform lint
command to keep things standardized.It doesn't need to be as advanced as
gofmt
that takes actions (though that would be very cool(, a mild linter like Puppet's would be great.The text was updated successfully, but these errors were encountered: