opentofu/internal/backend/local
Brandon Croft c33c8b013f
fix: have terraform output adhere to authorization w/ cloud
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.
2022-07-25 10:04:43 -06:00
..
testdata core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend_apply_test.go check for cancellation before apply confirmation 2022-05-02 14:09:47 -04:00
backend_apply.go check for cancellation before apply confirmation 2022-05-02 14:09:47 -04:00
backend_local_test.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00
backend_local.go backend/local: Remove unused DisablePlanFileStateLineageChecks flag 2022-01-13 11:00:10 -06:00
backend_plan_test.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_plan.go insert panic handlers 2021-10-28 11:51:39 -04:00
backend_refresh_test.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_refresh.go insert panic handlers 2021-10-28 11:51:39 -04:00
backend_test.go test: use T.TempDir to create temporary test directory (#30803) 2022-04-08 17:34:16 +01:00
backend.go insert panic handlers 2021-10-28 11:51:39 -04:00
cli.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
hook_state_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_state.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
local_test.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
testing.go fixup broken test fixtures 2022-07-06 13:47:35 -04:00