terraform/backend/remote
Sander van Harmelen a17f317025 Change how to fall back from remote to local backend
In order to support free organizations, we need a way to load the `remote` backend and then, depending on the used offering/plan, enable or disable remote operations.

In other words, we should be able to dynamically fall back to the `local` backend if needed, after first configuring the `remote` backend.

To make this works we need to change the way this was done previously when the env var `TF_FORCE_LOCAL_BACKEND` was set. The clear difference of course being that the env var would be available on startup, while the used offering/plan is only known after being able to connect to TFE.
2018-11-20 22:25:52 +01:00
..
test-fixtures Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_apply.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_apply_test.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_common.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
backend_mock.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_plan.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_plan_test.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
backend_state.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
backend_state_test.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
backend_test.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
cli.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
colorize.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
remote_test.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
testing.go Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00