mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
commit
b88d7beef1
4 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
resource "aws_instance" "bad" {
|
resource "aws_instance" "bad" {
|
||||||
ami = "ami-0ff8a91507f77f867"
|
ami = "ami-0ff8a91507f77f867"
|
||||||
instance_type = "t.2xlarge" # invalid type!
|
instance_type = # invalid type!
|
||||||
}
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
provider "aws" {
|
|
||||||
region = "us-east-1"
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
// https://github.com/terraform-linters/tflint/blob/master/docs/guides/config.md
|
// https://github.com/terraform-linters/tflint/blob/master/docs/guides/config.md
|
||||||
config {
|
config {
|
||||||
module = true
|
module = true
|
||||||
deep_check = true
|
deep_check = false
|
||||||
force = false
|
force = false
|
||||||
|
|
||||||
// aws_credentials = {
|
// aws_credentials = {
|
||||||
|
@ -20,7 +20,7 @@ config {
|
||||||
}
|
}
|
||||||
|
|
||||||
rule "aws_instance_invalid_type" {
|
rule "aws_instance_invalid_type" {
|
||||||
enabled = true
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
rule "aws_instance_previous_type" {
|
rule "aws_instance_previous_type" {
|
||||||
|
|
Loading…
Reference in a new issue