-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tflint.hcl
66 lines (53 loc) · 1.37 KB
/
.tflint.hcl
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
config {
format = "default"
plugin_dir = "~/.tflint.d/plugins"
}
plugin "terraform" {
source = "github.com/terraform-linters/tflint-ruleset-terraform"
version = "0.9.1"
enabled = true
}
rule "terraform_naming_convention" {
enabled = true
}
rule "terraform_documented_variables" {
enabled = true
}
rule "terraform_documented_outputs" {
enabled = true
}
# Using main.tf is not always the best option for managing resources and data
# sources within larger modules and Terraform configurations
rule "terraform_standard_module_structure" {
enabled = false
}
# tflint cannot always traverse included Terraform Modules, which means it may
# not be aware of provider usage within Modules and so report a false negative
rule "terraform_unused_required_providers" {
enabled = false
}
plugin "aws" {
source = "github.com/terraform-linters/tflint-ruleset-aws"
version = "0.33.0"
enabled = true
# Disable additional checks which require AWS Access
deep_check = false
}
rule "aws_iam_policy_document_gov_friendly_arns" {
enabled = true
}
rule "aws_iam_policy_gov_friendly_arns" {
enabled = true
}
rule "aws_iam_role_policy_gov_friendly_arns" {
enabled = true
}
rule "aws_resource_missing_tags" {
enabled = true
tags = ["Name"]
}
plugin "google" {
source = "github.com/terraform-linters/tflint-ruleset-google"
version = "0.30.0"
enabled = true
}