Skip to content

Commit

Permalink
Merge pull request #159 from ministryofjustice/update-and-fix-aws-tflint
Browse files Browse the repository at this point in the history
Bumping azurerm and aws versions and adding terraform plugin.
  • Loading branch information
julialawrence authored Sep 15, 2022
2 parents fc8bb1e + d75b4f3 commit 2da2a1c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
20 changes: 19 additions & 1 deletion terraform-static-analysis/tflint-configs/tflint.azure.hcl
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
plugin "azurerm" {
enabled = true
version = "0.17.1"
version = "0.18.0"
source = "github.com/terraform-linters/tflint-ruleset-azurerm"
}

plugin "terraform" {
enabled = true
version = "0.1.0"
source = "github.com/terraform-linters/tflint-ruleset-terraform"
}

rule "terraform_comment_syntax" {
enabled = false
}

rule "terraform_deprecated_index" {
enabled = false
}

rule "terraform_documented_outputs" {
enabled = true
}
Expand All @@ -16,6 +26,10 @@ rule "terraform_documented_variables" {
enabled = true
}

rule "terraform_empty_list_equality" {
enabled = false
}

rule "terraform_module_pinned_source" {
enabled = false
style = "flexible"
Expand Down Expand Up @@ -55,3 +69,7 @@ rule "terraform_unused_declarations" {
rule "terraform_unused_required_providers" {
enabled = true
}

rule "terraform_workspace_remote" {
enabled = true
}
13 changes: 12 additions & 1 deletion terraform-static-analysis/tflint-configs/tflint.default.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
plugin "aws" {
enabled = true
version = "0.15.0"
version = "0.17.0"
source = "github.com/terraform-linters/tflint-ruleset-aws"
}

plugin "terraform" {
enabled = true
version = "0.1.0"
preset = "recommended"
source = "github.com/terraform-linters/tflint-ruleset-terraform"
}

rule "terraform_deprecated_index" {
enabled = false
}

0 comments on commit 2da2a1c

Please sign in to comment.