Add Terraform tests

Closes #68
This commit is contained in:
Stefan Stölzle 2020-03-12 16:38:07 +01:00
parent 06bc3459f0
commit edb92e93bf
No known key found for this signature in database
GPG key ID: 65CB149C999C24DF
4 changed files with 11 additions and 0 deletions

View file

View file

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

View file

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

View file

@ -0,0 +1,4 @@
resource "aws_instance" "good" {
ami = "ami-0ff8a91507f77f867"
instance_type = "t2.small"
}