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

How customize/extend TFLint? #156

Closed
leoblanc opened this issue Nov 10, 2017 · 2 comments
Closed

How customize/extend TFLint? #156

leoblanc opened this issue Nov 10, 2017 · 2 comments

Comments

@leoblanc
Copy link

Hello, congratulations for your work, TFLint is a great tool and we use it a lot.

Our DevOps team wants use TFLint to enforce some internal policies related to internal naming conventions on the resources, require the addition of tags that should be always present (for AWS-related resources) etc. So, we want extend/customize TFLint (we can write Go code)

Could you please provide me a few "development guidelines" to start my work on that project? I mean, what is the cleanest and easiest way to extend/customize TFLint to add more checks?

Thank you very much in advance!

Best Regards,
Leo

@wata727
Copy link
Member

wata727 commented Nov 10, 2017

Hi @leoblanc, Thanks for using TFLint :)
However, I think that such a use case is not suitable for TFLint...

I think TFLint should focus on detecting errors and bad practices.
In order to enforce internal naming conventions, tools like https://github.com/elmundio87/terraform_validate are appropriate. Maybe duplicate of #121

WDYT? Please tell me your opinion. Thanks!

@leoblanc
Copy link
Author

@wata727 Hi Kazuma, thank you very much for your info! I didn't know about terraform_validate, I will check it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants