mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-10 08:03:08 -06:00
4c3923e32a
Instead of returning UnknownVariableValue every time, attempt to return the real value. If we don't find it, return unknown value. This fixes removing outputs from state on refresh.
6 lines
89 B
HCL
6 lines
89 B
HCL
resource "aws_instance" "web" {}
|
|
|
|
output "foo" {
|
|
value = "${aws_instance.web.foo}"
|
|
}
|