github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/graph-tainted/main.tf (about) 1 variable "foo" { 2 default = "bar" 3 description = "bar" 4 } 5 6 provider "aws" { 7 foo = "${openstack_floating_ip.random.value}" 8 } 9 10 resource "aws_security_group" "firewall" {} 11 12 resource "aws_instance" "web" { 13 ami = "${var.foo}" 14 security_groups = [ 15 "foo", 16 "${aws_security_group.firewall.foo}" 17 ] 18 }