opentofu/internal/cloud
Sebastian Rivera 9d7fdbea2d Handle -input=false in cloud integration
For non-interactive contexts, Terraform is typically executed with the flag -input=false.
However for runs that are not set to auto approve, the cloud integration will prompt a user for
approval input even with input being set to false. This commit enables the cloud integration to know
the value of the input flag and use it to determine whether or not to ask the user for input.

If -input is set to false and the run cannot be auto approved, the cloud integration will throw an error
stating run confirmation can no longer be handled in the CLI and that they must do so through the browser.
2022-04-26 11:17:44 -04: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.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
backend_apply.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04: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_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.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_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_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_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_refresh_test.go Run apply -refresh-state instead of refresh 2021-10-28 19:29:12 -05:00
backend_runTasks.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_runTasks_test.go [cloud] refactor integration context and add code documentation 2022-02-24 14:02:37 -05:00
backend_state.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_state_test.go Rename cloud.testBackendDefault -> cloud.testBackendWithName 2021-10-28 19:29:11 -05:00
backend_test.go Rename cloud env vars to use TF_CLOUD prefix 2022-04-20 14:34:53 -04:00
cloud_integration.go [cloud] refactor integration context and add code documentation 2022-02-24 14:02:37 -05: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
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
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.go cloud: DetectConfigChangeType helper 2021-11-17 14:20:44 -08:00
migration_test.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
testing.go Handle -input=false in cloud integration 2022-04-26 11:17:44 -04:00
tfe_client_mock.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