github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/transform-targets-basic/main.tf (about)

     1  resource "aws_vpc" "me" {}
     2  
     3  resource "aws_subnet" "me" {
     4    depends_on = [
     5      aws_vpc.me,
     6    ]
     7  }
     8  
     9  resource "aws_instance" "me" {
    10    depends_on = [
    11      aws_subnet.me,
    12    ]
    13  }
    14  
    15  resource "aws_vpc" "notme" {}
    16  resource "aws_subnet" "notme" {}
    17  resource "aws_instance" "notme" {}
    18  resource "aws_instance" "notmeeither" {
    19    depends_on = [
    20      aws_instance.me,
    21    ]
    22  }