github.com/nevins-b/terraform@v0.3.8-0.20170215184714-bbae22007d5a/config/test-fixtures/copy-basic/main.tf (about)

     1  variable "ref" {
     2    default = "foo"
     3  }
     4  
     5  resource "foo" "bar" {
     6    depends_on = ["dep"]
     7    provider = "foo-west"
     8    count = 2
     9    attr  = "value"
    10    ref   = "${var.ref}"
    11  
    12    provisioner "shell" {
    13      inline = "echo"
    14    }
    15  
    16    lifecycle {
    17      ignore_changes = ["config"]
    18    }
    19  }