Merge pull request #75 from github/tflint

Update TFLint test cases
This commit is contained in:
Lukas Gravley 2020-04-02 13:05:12 -05:00 committed by GitHub
commit b88d7beef1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 6 deletions

View file

@ -1,4 +1,4 @@
resource "aws_instance" "bad" {
ami = "ami-0ff8a91507f77f867"
instance_type = "t.2xlarge" # invalid type!
instance_type = # invalid type!
}

View file

@ -1,3 +0,0 @@
provider "aws" {
region = "us-east-1"
}

View file

@ -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" {