opentofu/internal/cloud
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
..
e2e Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
testdata fix: local variables should not be overridden by remote variables during terraform import (#29972) 2022-03-15 14:42:11 -07:00
backend_apply_test.go Upgrade go-tfe dependency to use 1.0 version. It contains breaking changes, so we are updating method signatures, method names and the type of optional parameters, as needed. (#30626) 2022-03-23 13:58:47 -07:00
backend_apply.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
backend_cli.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
backend_colorize.go Initial commit of 'cloud' package 2021-10-28 19:29:09 -05:00
backend_common.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
backend_context_test.go fix: local variables should not be overridden by remote variables during terraform import (#29972) 2022-03-15 14:42:11 -07:00
backend_context.go Upgrade go-tfe dependency to use 1.0 version. It contains breaking changes, so we are updating method signatures, method names and the type of optional parameters, as needed. (#30626) 2022-03-23 13:58:47 -07:00
backend_plan_test.go fix(run variables): support all variable types (map, list, bool, number, null, string) 2021-11-11 10:36:01 -07:00
backend_plan.go Upgrade go-tfe dependency to use 1.0 version. It contains breaking changes, so we are updating method signatures, method names and the type of optional parameters, as needed. (#30626) 2022-03-23 13:58:47 -07:00
backend_refresh_test.go Run apply -refresh-state instead of refresh 2021-10-28 19:29:12 -05:00
backend_runTasks_test.go [cloud] refactor integration context and add code documentation 2022-02-24 14:02:37 -05:00
backend_runTasks.go add url to summary and check for optional values (#30993) 2022-05-31 13:48:07 -07:00
backend_state_test.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00
backend_state.go make cloud backend_state error messages more conventional 2022-07-22 11:31:48 -06:00
backend_test.go Bump compatibility version to 1.3.0 for terraform core release (#30988) 2022-05-03 12:28:41 -06:00
backend.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00
cloud_integration.go [cloud] refactor integration context and add code documentation 2022-02-24 14:02:37 -05:00
cloud_variables_test.go fix(run variables): support all variable types (map, list, bool, number, null, string) 2021-11-11 10:36:01 -07:00
cloud_variables.go fix(run variables): support all variable types (map, list, bool, number, null, string) 2021-11-11 10:36:01 -07:00
configchangemode_string.go cloud: DetectConfigChangeType helper 2021-11-17 14:20:44 -08:00
errors.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
migration_test.go cloud: DetectConfigChangeType helper 2021-11-17 14:20:44 -08:00
migration.go cloud: DetectConfigChangeType helper 2021-11-17 14:20:44 -08:00
remote_test.go Initial commit of 'cloud' package 2021-10-28 19:29:09 -05:00
state_test.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00
state.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00
testing.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00
tfe_client_mock.go fix: have terraform output adhere to authorization w/ cloud 2022-07-25 10:04:43 -06:00