Comments (7)
There aren't a whole lot of options out there that accomplish this. It would definitely be a win for the community.
from tflint.
@mateusduboli Thanks for your suggestion!
However, I think that whether to specify tags on resources depends on a project. For that reason, I think that you should use terraform_validate etc. that you can define rules yourself in such cases. WDYT?
from tflint.
Now I think implementing this is not a bad option. We will implement it if necessary.
from tflint.
Closed this in #617
from tflint.
Thanks for the suggestion!
But my doubt would be why not include in tflint
too, I mean for AWS resources it's needed to at least have tags in order to name things properly or even to split cost centers, that in itself is a lint
ing issue.
from tflint.
I also +1 this, I see no harm in tflint having this as well, much like pylint overlaps some of the pep8 rules for python code.
The key is to carefully implement the rules so that they don't conflict with the other tools in the default configuration.
The reality is that there are usually multiple choices and it is not always easy to cleanly segment their scope. Some users will only run one of those but still expect some decent support.
from tflint.
+1 from me, as well. Is this still being tracked? We'd love to implement this tool in our automation to check for tagging of resources where applicable. There's only so much that can be forced through modules.
from tflint.
Related Issues (20)
- Add support for inspecting files other than *.tf
- .tflint.hcl missing error with module and recursive mode since 0.50.0 bugfix HOT 2
- Redesign config schema
- Autofix fails when changing directories HOT 1
- Getting Invalid reference error when using module to load a terraform file with lint error
- Panics when emitting issues on child blocks HOT 2
- Duplicate variable declaration
- tflint in Docker not running the checks
- # tflint-ignore-file: terraform_required_version is being ignored
- Add support for Github auth token via environment variable HOT 1
- tflint does not recognise `removed` blocks
- Allow plugins located on github.com and GHES to be installed at once as an authenticated request HOT 2
- String interpolation passed as a list HOT 1
- Sarif output should use the final schema version HOT 2
- The latest version don't use the last version of the tflint-ruleset-azurerm
- Terraform 1.8.x builtin functions break tflint syntax parsing HOT 2
- Support monorepo release versions for plugins HOT 1
- Clarify license notices HOT 2
- BUSL-1.1 licensed code found in tflint HOT 2
- Allow use of `--chdir` and `--recursive` together HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tflint.