github.com/burmuley/terraform@v0.11.12-beta1/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 }