mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
c33c8b013f
Normally, `terraform output` refreshes and reads the entire state in the command package before pulling output values out of it. This doesn't give Terraform Cloud the opportunity to apply the read state outputs org permission and instead applies the read state versions permission. I decided to expand the state manager interface to provide a separate GetRootOutputValues function in order to give the cloud backend a more nuanced opportunity to fetch just the outputs. This required moving state Refresh/Read code that was previously in the command into the shared backend state as well as the filesystem state packages. |
||
---|---|---|
.. | ||
testdata | ||
backend_apply_test.go | ||
backend_apply.go | ||
backend_local_test.go | ||
backend_local.go | ||
backend_plan_test.go | ||
backend_plan.go | ||
backend_refresh_test.go | ||
backend_refresh.go | ||
backend_test.go | ||
backend.go | ||
cli.go | ||
hook_state_test.go | ||
hook_state.go | ||
local_test.go | ||
testing.go |