github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/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  }