mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 00:41:27 -06:00
8 lines
145 B
HCL
8 lines
145 B
HCL
resource "test_instance" "tmpl" {
|
|
foo = "${file("${path.module}/template.txt")}"
|
|
}
|
|
|
|
output "template" {
|
|
value = "${test_instance.tmpl.foo}"
|
|
}
|