updates terraform test

This commit is contained in:
Cesar Rodriguez 2020-08-22 21:52:39 -04:00
parent 68fb056099
commit 95576fd66f
2 changed files with 13 additions and 12 deletions

View file

@ -1,9 +1,8 @@
resource "aws_instance" "bad" { resource "aws_instance" "instanceWithNoVpc" {
ami = "ami-0ff8a91507f77f867" ami = "some-id"
instance_type = "t2.small" instance_type = "t2.micro"
associate_public_ip_address = true
ebs_block_device { tags = {
encrypted = true Name = "HelloWorld"
} }
} }

View file

@ -1,9 +1,11 @@
resource "aws_instance" "good" { resource "aws_instance" "instanceWithVpc" {
ami = "ami-0ff8a91507f77f867" ami = "some-id"
instance_type = "t2.small" instance_type = "t2.micro"
associate_public_ip_address = false
ebs_block_device { vpc_security_group_ids = ["sg-12345678901234567"]
encrypted = true subnet_id = "subnet-12345678901234567"
tags = {
Name = "HelloWorld"
} }
} }