Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 612 Bytes

File metadata and controls

36 lines (22 loc) · 612 Bytes

tflint-ruleset-terraform-sort

Requirements

  • TFLint v0.42+
  • Go v1.24

Installation

You can install the plugin with tflint --init. Declare a config in .tflint.hcl as follows:

plugin "terraform-sort" {
  enabled = true

  version = "0.3.0"
  source  = "github.com/kenske/tflint-ruleset-terraform-sort"

}

Rules

See docs for a list of rules available in this ruleset.

Development

Clone the repository locally and run the following command:

$ make install

This will install the plugin in ~/.tflint.d/plugins.

Run TFLINT_LOG=debug tflint to see debug logs.