mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
2cffa25235
The apply won't succeed because we don't have a valid plan, but this verifies that providing a plan file prevents Validation.
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}"
|
|
}
|