terraform/backend/remote-state
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
..
artifactory Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
azure Fix interface after upgrade 2019-02-01 10:48:56 +00:00
consul backend/remote-state: Get all the backend tests building again 2018-10-16 19:14:11 -07:00
etcdv2 backend/remote: use `state.v2` for remote state only 2019-02-19 10:59:51 +01:00
etcdv3 backend/remote-state: Get all the backend tests building again 2018-10-16 19:14:11 -07:00
gcs backend/remote-state: Get all the backend tests building again 2018-10-16 19:14:11 -07:00
http Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
inmem backend/remote-state/inmem: remove FIXME guards on tests that no longer hang 2018-10-16 19:14:11 -07:00
manta Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
s3 fix slash handling around workspace_key_prefix 2019-02-22 10:29:10 -05:00
swift backend/swift: Fix interface after upgrade 2019-02-08 11:03:03 +00:00
backend.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
backend_test.go backend/remote-state 2017-01-26 14:33:49 -08:00
testing.go Move TestRemoteLocks to state/remote 2017-02-08 11:25:52 -05:00