mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-01 11:47:07 -06:00
9574f16f92
Fixes #12174 You're allowed to refresh with a nil module (no configs) as long as you have state. However, if `-input=true` (default) then this would crash since the input attempts to read the configs. The API contract with `terraform.Context` says that the module tree must be non-nil and loaded. To do this for other commands we create an empty module tree. We do that here now. |
||
---|---|---|
.. | ||
legacy | ||
local | ||
remote-state | ||
backend.go | ||
cli.go | ||
nil_test.go | ||
nil.go | ||
operation_type.go | ||
operationtype_string.go | ||
testing.go |