github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/terraform/testdata/plan-cbd-maintain-root/main.tf (about) 1 resource "aws_instance" "foo" { 2 count = "2" 3 4 lifecycle { 5 create_before_destroy = true 6 } 7 } 8 9 resource "aws_instance" "bar" { 10 count = "2" 11 12 lifecycle { 13 create_before_destroy = true 14 } 15 } 16 17 output "out" { 18 value = "${aws_instance.foo.0.id}" 19 }