Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schumann-it/tflint-ruleset-terraform-ext
https://github.com/schumann-it/tflint-ruleset-terraform-ext
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/schumann-it/tflint-ruleset-terraform-ext
- Owner: Schumann-IT
- License: mit
- Created: 2024-08-24T22:13:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T17:06:10.000Z (5 months ago)
- Last Synced: 2024-11-15T02:33:48.014Z (2 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TFLint Ruleset Terraform extension
[![Build Status](https://github.com/schumann-it/tflint-ruleset-terraformn-ext/workflows/build/badge.svg?branch=main)](https://github.com/schumann-it/tflint-ruleset-terraformn-ext/actions)Extends default terraform ruleset with
- validation of variable attributes## Requirements
- TFLint v0.42+
- Go v1.22## Rules
|Name| Description |Severity|Enabled|Link|
| --- |--------------------------------------------| --- | --- | --- |
|terraform_variable_attribute_order| Validates the order of varibale attributes |ERROR|✔||## 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 "terraform-ext" {
enabled = true
version = "0.1.0"
source = "github.com/schumann-it/tflint-ruleset-terraform-ext"
}
EOS
$ tflint
```