github.com/nevins-b/terraform@v0.3.8-0.20170215184714-bbae22007d5a/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  }