github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/transform-targets-destroy/main.tf (about)

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