opentofu/terraform/test-fixtures/plan-var-list-err/main.tf
Emil Hessman 071d872dc2 terraform: acceptance test for validation error
Add an acceptance test where terraform plan should error due
to validation errors.
2015-01-13 06:59:12 +01:00

17 lines
315 B
HCL

provider "aws" {
access_key = "a"
secret_key = "b"
region = "us-east-1"
}
resource "aws_instance" "foo" {
ami = "ami-foo"
instance_type = "t2.micro"
security_groups = "${aws_security_group.foo.name}"
}
resource "aws_security_group" "foo" {
name = "foobar"
description = "foobar"
}