github.com/handlerbot/terraform@v0.10.0-beta1.0.20180726153736-26b68d98f9cb/terraform/test-fixtures/graph-builder-cbd-non-cbd/main.tf (about)

     1  provider "aws" {}
     2  
     3  resource "aws_lc" "foo" {}
     4  
     5  resource "aws_asg" "foo" {
     6      lc = "${aws_lc.foo.id}"
     7  
     8      lifecycle { create_before_destroy = true }
     9  }