github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/transform-targets-basic/main.tf (about)

     1  resource "aws_vpc" "me" {}
     2  
     3  resource "aws_subnet" "me" {
     4    vpc_id = "${aws_vpc.me.id}"
     5  }
     6  
     7  resource "aws_instance" "me" {
     8    subnet_id = "${aws_subnet.me.id}"
     9  }
    10  
    11  resource "aws_vpc" "notme" {}
    12  resource "aws_subnet" "notme" {}
    13  resource "aws_instance" "notme" {}
    14  resource "aws_instance" "notmeeither" {
    15    name = "${aws_instance.me.id}"
    16  }