terraform/backend/remote-state/gcloud
Florian Forster fabba5c0c8 backend/remote-state/gcloud: Refactor Backend.States().
The previous code listed all objects in the bucket and used local filtering
(using regular expressions) to find .tfstate objects. This new code sets
the delimiter to "/", which causes GCS to only return objects directly in
the given prefix, but not any sub"directories".

Fixes:
* https://github.com/golang/go/wiki/CodeReviewComments#doc-comments
* https://github.com/golang/go/wiki/CodeReviewComments#error-strings
2017-10-27 16:51:21 -04:00
..
backend.go backend/remote-state/gcloud: Refactor Backend.States(). 2017-10-27 16:51:21 -04:00
backend_state.go backend/remote-state/gcloud: Refactor Backend.States(). 2017-10-27 16:51:21 -04:00
client.go backend/remote-state/gcloud: Use the lock file's generation as lock ID. 2017-10-27 16:51:21 -04:00