Skip to content

kenske/tflint-ruleset-terraform-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1.3"
  source  = "github.com/kenske/tflint-ruleset-terraform-sort"

}

Rules

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

Building the plugin

Clone the repository locally and run the following command:

$ make

You can easily install the built plugin with the following:

$ make install

You can run the built plugin like the following:

$ cat << EOS > .tflint.hcl
plugin "template" {
  enabled = true
}
EOS
$ tflint

About

tflint plugin for verifying terraform lists are sorted

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published