github.com/heimweh/terraform@v0.7.4/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 }