Skip to content

Commit

Permalink
chore(tflint): update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrtak-CZ committed Jun 15, 2023
1 parent 3d391f7 commit c2ef729
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .tflint.hcl
Original file line number Diff line number Diff line change
@@ -1,96 +1,96 @@
plugin "terraform" {
enabled = true
version = "0.2.2"
version = "0.3.0"
source = "github.com/terraform-linters/tflint-ruleset-terraform"
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_comment_syntax.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_comment_syntax.md
rule "terraform_comment_syntax" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_deprecated_index.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_deprecated_index.md
rule "terraform_deprecated_index" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_deprecated_interpolation.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_deprecated_interpolation.md
rule "terraform_deprecated_interpolation" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_documented_outputs.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_documented_outputs.md
rule "terraform_documented_outputs" {
enabled = false
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_documented_variables.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_documented_variables.md
rule "terraform_documented_variables" {
enabled = false
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_empty_list_equality.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_empty_list_equality.md
rule "terraform_empty_list_equality" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_module_pinned_source.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_module_pinned_source.md
rule "terraform_module_pinned_source" {
enabled = true
style = "semver"
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_module_version.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_module_version.md
rule "terraform_module_version" {
enabled = true
exact = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_naming_convention.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_naming_convention.md
rule "terraform_naming_convention" {
enabled = true
format = "snake_case"
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_required_providers.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_required_providers.md
rule "terraform_required_providers" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_required_version.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_required_version.md
rule "terraform_required_version" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_standard_module_structure.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_standard_module_structure.md
rule "terraform_standard_module_structure" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_typed_variables.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_typed_variables.md
rule "terraform_typed_variables" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_unused_declarations.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_unused_declarations.md
rule "terraform_unused_declarations" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_unused_required_providers.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_unused_required_providers.md
rule "terraform_unused_required_providers" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.2/docs/rules/terraform_workspace_remote.md
# https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.3.0/docs/rules/terraform_workspace_remote.md
rule "terraform_workspace_remote" {
enabled = true
}

# https://github.com/terraform-linters/tflint-ruleset-aws/blob/master/docs/configuration.md
plugin "aws" {
enabled = true
version = "0.22.1"
version = "0.23.1"
source = "github.com/terraform-linters/tflint-ruleset-aws"

deep_check = true
Expand Down

0 comments on commit c2ef729

Please sign in to comment.