github.com/hs0210/hashicorp-terraform@v0.11.12-beta1/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  }