Difference between revisions of "Tflint"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://github.com/terraform-linters/tflint
 
* https://github.com/terraform-linters/tflint
 
* Installation: <code>[[brew install tflint]]</code>
 
* Installation: <code>[[brew install tflint]]</code>
* Linux: <code>[[curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash]]</code>
+
* Linux: <code>[[curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh]] | bash</code>
 
* Help:  <code>[[tflint --help]]</code>
 
* Help:  <code>[[tflint --help]]</code>
  

Revision as of 18:59, 7 February 2024


Warnings

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: