github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-var-list-err/main.tf (about) 1 provider "aws" { 2 access_key = "a" 3 secret_key = "b" 4 region = "us-east-1" 5 } 6 7 resource "aws_instance" "foo" { 8 ami = "ami-foo" 9 instance_type = "t2.micro" 10 security_groups = "${aws_security_group.foo.name}" 11 } 12 13 resource "aws_security_group" "foo" { 14 name = "foobar" 15 description = "foobar" 16 }