github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/plan-cbd-maintain-root/main.tf (about)

     1  resource "aws_instance" "foo" {
     2    count = "2"
     3    lifecycle { create_before_destroy = true }
     4  }
     5  
     6  resource "aws_instance" "bar" {
     7    count = "2"
     8    lifecycle { create_before_destroy = true }
     9  }
    10  
    11  output "out" {
    12    value = "${aws_instance.foo.0.id}"
    13  }