blob: 1c3fc36e10b859ece125a0d2c4a6e9fdcff78fa6 [file] [log] [blame]
variable "name" {
default = "world"
}
data "template_file" "test" {
template = "Hello, $${name}"
vars = {
name = "${var.name}"
}
}
resource "null_resource" "test" {
triggers = {
greeting = "${data.template_file.test.rendered}"
}
}
output "greeting" {
value = "${null_resource.test.triggers["greeting"]}"
}