terraform/backend/remote
Alisdair McDiarmid 8dcf768f4e backend/remote: Add IsLocalOperations
To ensure that the apply command can determine whether an operation is
executed locally or remotely, we add an IsLocalOperations method on the
remote backend. This returns the internal forceLocal boolean.

We also update this flag after checking if the corresponding remote
workspace is in local operations mode or not. This ensures that we know
if an operation is running locally (entirely on the practitioner's
machine), pseudo-locally (on a Terraform Cloud worker), or remotely
(executing on a worker, rendering locally).
2021-04-16 11:43:57 -04:00
..
testdata clean up go mod for go-tfe 2019-09-27 14:16:41 -07:00
backend.go backend/remote: Add IsLocalOperations 2021-04-16 11:43:57 -04:00
backend_apply.go cli: Remove deprecated destroy -force flag 2021-02-03 15:05:05 -05:00
backend_apply_test.go Enable --auto-approve for Policy checks on Remote Backend (Terraform Cloud) (#27804) 2021-03-01 08:54:30 -05:00
backend_common.go Enable --auto-approve for Policy checks on Remote Backend (Terraform Cloud) (#27804) 2021-03-01 08:54:30 -05:00
backend_context.go clistate: Update clistate.Locker for command views 2021-02-16 07:19:22 -05:00
backend_context_test.go clistate: Update clistate.Locker for command views 2021-02-16 07:19:22 -05:00
backend_mock.go backend: Validate remote backend Terraform version 2020-11-19 13:19:40 -05:00
backend_plan.go clistate: Update clistate.Locker for command views 2021-02-16 07:19:22 -05:00
backend_plan_test.go backend: Replace ShowDiagnostics with view.Diagnostics 2021-02-25 11:26:05 -05:00
backend_state.go backend/remote: Fix broken state lock retry 2021-02-19 15:47:18 -05:00
backend_state_test.go refactor tests to use modern states.State in favor of terraform.State where possible 2020-09-30 16:07:54 -04:00
backend_test.go backend/remote: Fix new workspace state migration 2021-03-15 15:48:14 -04:00
cli.go backend: Add per-operation diagnostic rendering 2021-02-12 14:30:35 -05:00
colorize.go backend/remote: implement the Local interface 2018-11-26 20:50:25 +01:00
remote_test.go backend: Faster remote backend tests 2020-11-18 16:00:05 -05:00
testing.go backend: Replace ShowDiagnostics with view.Diagnostics 2021-02-25 11:26:05 -05:00