github.com/heimweh/terraform@v0.7.4/terraform/test-fixtures/apply-destroy-cbd/main.tf (about)

     1  resource "aws_instance" "foo" { }
     2  resource "aws_instance" "bar" {
     3    depends_on = ["aws_instance.foo"]
     4    lifecycle {
     5      create_before_destroy = true
     6    }
     7  }