terraform/backend
James Bardin 31ca293777 fix slash handling around workspace_key_prefix
The handling of slashes was broken around listing workspaces in
workspace_key_prefix. While it worked in most places by splitting an
extra time around the spurious slashes, it failed in the case that the
prefix ended with a slash of its own.

A test was temporarily added to verify that the backend works with the
unusual keys, but rather than risking silent breakage around prefixes
with trailing slashes, we also add validation to prevent users from
entering keys with trailing slashes at all.
2019-02-22 10:29:10 -05:00
..
atlas Make the Atlas backend work after updating depencies 2018-11-15 20:34:31 +01:00
init Change how to fall back from remote to local backend 2018-11-20 22:25:52 +01:00
local move init error to where it is generated 2019-02-20 14:18:37 -05:00
remote backend/remote: use `state.v2` for remote state only 2019-02-19 10:59:51 +01:00
remote-state fix slash handling around workspace_key_prefix 2019-02-22 10:29:10 -05:00
backend.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
cli.go backend: Update interface and implementations for new config loader 2018-10-16 18:39:12 -07:00
nil.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
nil_test.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operation_type.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operationtype_string.go Update various files for new version of "stringer" 2017-12-11 13:26:29 -08:00
testing.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
unparsed_value.go backend: Undeclared variables in -var-file is a warning, not an error 2019-01-22 07:46:51 -08:00