opentofu/internal/cloud
Brandon Croft 1f01ba4dbc
fix(run variables): support all variable types (map, list, bool, number, null, string)
All run variables remain encoded as strings in the API but will now be expressed as an HCL value to be evaluated correctly by the remote terraform. Previously, only strings were supported.

Examples:
string: `"quoted literal"` (strings must be quoted)
map:  `{ foo = "bar" }`
list: `["foo", "bar"]`
bool: `true`
null: `null`
number: `0.0001`

This requires the API to anticipate that all run variables will be HCL values
2021-11-11 10:36:01 -07:00
..
e2e cloud: Add tags to workspace if necessary when fetching state 2021-11-02 16:18:17 -05:00
testdata Run apply -refresh-state instead of refresh 2021-10-28 19:29:12 -05:00
backend_apply_test.go import path to go mocks in tfe 2021-11-08 08:58:56 -08:00
backend_apply.go Add run variables to cloud plan operations from non-file sources 2021-10-28 19:29:12 -05:00
backend_cli.go Restore API version checking, with internal usage accounted for 2021-10-28 19:29:18 -05:00
backend_colorize.go Initial commit of 'cloud' package 2021-10-28 19:29:09 -05:00
backend_common.go Add run variables to cloud plan operations from non-file sources 2021-10-28 19:29:12 -05:00
backend_context_test.go Rename cloud.testBackendDefault -> cloud.testBackendWithName 2021-10-28 19:29:11 -05:00
backend_context.go Remove prefix from the cloud backend config 2021-10-28 19:29:12 -05: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 Run apply -refresh-state instead of refresh 2021-10-28 19:29:12 -05:00
backend_refresh_test.go Run apply -refresh-state instead of refresh 2021-10-28 19:29:12 -05:00
backend_state_test.go Rename cloud.testBackendDefault -> cloud.testBackendWithName 2021-10-28 19:29:11 -05:00
backend_state.go Initial commit of 'cloud' package 2021-10-28 19:29:09 -05:00
backend_test.go cloud: convert uses of worspaces.operations into workspaces.executionMode (#29844) 2021-11-08 07:20:15 -08:00
backend.go cloud: Help output typos 2021-11-08 22:07:37 -06: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
errors.go Simplify logic flow: everything is a constraint 2021-10-28 19:29:13 -05:00
remote_test.go Initial commit of 'cloud' package 2021-10-28 19:29:09 -05:00
testing.go Remove prefix from the cloud backend config 2021-10-28 19:29:12 -05:00
tfe_client_mock.go cloud: convert uses of worspaces.operations into workspaces.executionMode (#29844) 2021-11-08 07:20:15 -08:00