github.com/mikesimons/terraform@v0.6.13-0.20160304043642-f11448c69214/config/test-fixtures/create-before-destroy.tf (about) 1 2 resource "aws_instance" "web" { 3 ami = "foo" 4 lifecycle { 5 create_before_destroy = true 6 } 7 } 8 9 resource "aws_instance" "bar" { 10 ami = "foo" 11 lifecycle { 12 create_before_destroy = false 13 } 14 }