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).
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"
}| 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 |
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
}
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.