Difference between revisions of "Tflint"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
* Installation: <code>[[brew install tflint]]</code> | * Installation: <code>[[brew install tflint]]</code> | ||
* Help: <code>[[tflint --help]]</code> | * Help: <code>[[tflint --help]]</code> | ||
+ | |||
+ | |||
+ | Warning: variable "[[cidr_blocks]]" is declared but not used (terraform_unused_declarations) | ||
+ | |||
+ | on [[variables.tf]] line 11: | ||
+ | 11: variable "cidr_blocks" { | ||
+ | |||
+ | Reference: https://github.com/terraform-linters/tflint-ruleset- terraform/blob/v0.2.2/docs/rules/terraform_unused_declarations.md | ||
== Related == | == Related == |
Revision as of 10:43, 27 March 2023
- Installation:
brew install tflint
- Help:
tflint --help
Warning: variable "cidr_blocks" is declared but not used (terraform_unused_declarations) on variables.tf line 11: 11: variable "cidr_blocks" { Reference: https://github.com/terraform-linters/tflint-ruleset- terraform/blob/v0.2.2/docs/rules/terraform_unused_declarations.md
Related
See also
Advertising: