github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/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  }