diff --git a/.automation/test/terraform/terraform_bad_1.tf b/.automation/test/terraform/bad/terraform_bad_1.tf similarity index 56% rename from .automation/test/terraform/terraform_bad_1.tf rename to .automation/test/terraform/bad/terraform_bad_1.tf index 780a0839..e734fff5 100644 --- a/.automation/test/terraform/terraform_bad_1.tf +++ b/.automation/test/terraform/bad/terraform_bad_1.tf @@ -1,4 +1,4 @@ resource "aws_instance" "bad" { ami = "ami-0ff8a91507f77f867" - instance_type = "t.2xlarge" # invalid type! + instance_type = # invalid type! } diff --git a/.automation/test/terraform/terraform_good_1.tf b/.automation/test/terraform/good/terraform_good_1.tf similarity index 100% rename from .automation/test/terraform/terraform_good_1.tf rename to .automation/test/terraform/good/terraform_good_1.tf diff --git a/.automation/test/terraform/init.tf b/.automation/test/terraform/init.tf deleted file mode 100644 index c1259402..00000000 --- a/.automation/test/terraform/init.tf +++ /dev/null @@ -1,3 +0,0 @@ -provider "aws" { - region = "us-east-1" -} diff --git a/TEMPLATES/.tflint.hcl b/TEMPLATES/.tflint.hcl index 657793c9..5bc2209b 100644 --- a/TEMPLATES/.tflint.hcl +++ b/TEMPLATES/.tflint.hcl @@ -1,7 +1,7 @@ // https://github.com/terraform-linters/tflint/blob/master/docs/guides/config.md config { module = true - deep_check = true + deep_check = false force = false // aws_credentials = { @@ -20,7 +20,7 @@ config { } rule "aws_instance_invalid_type" { - enabled = true + enabled = false } rule "aws_instance_previous_type" {