mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 23:23:59 -06:00
071d872dc2
Add an acceptance test where terraform plan should error due to validation errors.
17 lines
315 B
HCL
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"
|
|
}
|