-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.tflint.hcl
More file actions
34 lines (29 loc) · 949 Bytes
/
.tflint.hcl
File metadata and controls
34 lines (29 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md
# https://github.com/github/super-linter/blob/main/TEMPLATES/.tflint.hcl
config {
call_module_type = "none"
force = false
}
plugin "terraform" {
enabled = true
preset = "all"
}
# add special rules for MS Azure Resource Manager
plugin "azurerm" {
enabled = true
version = "0.31.0"
source = "github.com/terraform-linters/tflint-ruleset-azurerm"
}
# we do not want to enforce specifying a required Terraform version as we usually run the configs with the latest version
rule "terraform_required_version" {
enabled = false
}
# some modules simply don't have outputs or variables
rule "terraform_standard_module_structure" {
enabled = false
}
# child modules usually don't specify their provider versions
# if it's also missing in the root module then Terraform will complain
rule "terraform_required_providers" {
enabled = false
}