terraform/backend/remote
Alisdair McDiarmid 4b159416ff backend/remote: Fix new workspace state migration
When migrating state to a new workspace, the version check would error
due to a 404 error on fetching the workspace record. This would result
in failed state migration.

Instead we should look specifically for a 404 error, and allow migration
to continue. If we're just about to create the workspace, there can't be
a version incompatibility problem.
2021-03-15 15:48:14 -04:00
..
testdata clean up go mod for go-tfe 2019-09-27 14:16:41 -07:00
backend.go backend/remote: Fix new workspace state migration 2021-03-15 15:48:14 -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