github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/transform-targets-destroy/main.tf (about) 1 resource "aws_vpc" "notme" {} 2 3 resource "aws_subnet" "notme" { 4 vpc_id = "${aws_vpc.notme.id}" 5 } 6 7 resource "aws_instance" "me" { 8 subnet_id = "${aws_subnet.notme.id}" 9 } 10 11 resource "aws_instance" "notme" {} 12 resource "aws_instance" "metoo" { 13 name = "${aws_instance.me.id}" 14 } 15 16 resource "aws_elb" "me" { 17 instances = "${aws_instance.me.*.id}" 18 }