Skip to content

Commit 7ecb9ac

Browse files
Terraform linter
1 parent 7709913 commit 7ecb9ac

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run TFLint
3939
run: |
4040
tflint --init
41-
tflint
41+
tflint -f compact
4242
4343
- name: Validate Examples
4444
run: |

.tflint.hcl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
config {
2+
module = true
3+
force = false
4+
}
5+
6+
plugin "terraform" {
7+
enabled = true
8+
preset = "recommended"
9+
version = "0.5.0"
10+
source = "github.com/terraform-linters/tflint-ruleset-terraform"
11+
}
12+
13+
rule "terraform_required_version" {
14+
enabled = false
15+
}
16+
17+
rule "terraform_module_pinned_source" {
18+
enabled = false
19+
}

0 commit comments

Comments
 (0)