blob: 6303064c9f64b5a7bbeb6b17ad0b3e0aa9582c59 [file] [log] [blame]
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"
}