mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
updates terraform test
This commit is contained in:
parent
68fb056099
commit
95576fd66f
2 changed files with 13 additions and 12 deletions
|
@ -1,9 +1,8 @@
|
|||
resource "aws_instance" "bad" {
|
||||
ami = "ami-0ff8a91507f77f867"
|
||||
instance_type = "t2.small"
|
||||
associate_public_ip_address = true
|
||||
resource "aws_instance" "instanceWithNoVpc" {
|
||||
ami = "some-id"
|
||||
instance_type = "t2.micro"
|
||||
|
||||
ebs_block_device {
|
||||
encrypted = true
|
||||
tags = {
|
||||
Name = "HelloWorld"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
resource "aws_instance" "good" {
|
||||
ami = "ami-0ff8a91507f77f867"
|
||||
instance_type = "t2.small"
|
||||
associate_public_ip_address = false
|
||||
resource "aws_instance" "instanceWithVpc" {
|
||||
ami = "some-id"
|
||||
instance_type = "t2.micro"
|
||||
|
||||
ebs_block_device {
|
||||
encrypted = true
|
||||
vpc_security_group_ids = ["sg-12345678901234567"]
|
||||
subnet_id = "subnet-12345678901234567"
|
||||
|
||||
tags = {
|
||||
Name = "HelloWorld"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue