Skip to content

utilitywarehouse/tflint-ruleset-uw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFLint UW ruleset

This is a tflint plugin for UW specific needs.

In most cases, teams can run terraform commands on their local machines, so linting is not a security enforcer, but a nicer UI for the rules enforced by other security methods (like permission boundaries).

Installation

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

plugin "uw" {
  enabled = true

  version = "x.y.z"
  source  = "github.com/utilitywarehouse/tflint-ruleset-uw"
}

Rules

Name Description
aws_s3_bucket_missing_name_tag Requires aws s3 buckets to have a "Name" tag
aws_security_group_missing_owner_tag Requires aws security groups to have an "owner" tag

Using the plugin locally

Clone the repository locally and run the following command:

$ go test ./...
$ make install

Add the local (no "source" attribute) version of the plugin to your .tflint.hcl

plugin "uw" {
  enabled = true
}

Releasing

Releases are created via github. Creating a new release on github will trigger a workflow that uses goreleaser to create the required builds and checksums.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •