terraform/state/remote
James Bardin 10f6d7f30f Add locking for s3 state
Use a DynamoDB table to coodinate state locking in S3.

We use a simple strategy here, defining a key containing the value of
the bucket/key of the state file as the lock. If the keys exists, the
locks fails.

TODO: decide if locks should automatically be expired, or require manual
intervention.
2017-01-30 17:16:57 -05:00
..
artifactory.go add artifactory remote state storage 2015-10-29 09:33:09 -04:00
artifactory_test.go add artifactory remote state storage 2015-10-29 09:33:09 -04:00
atlas.go Don't retry the atlas requests with the wrong cert 2016-08-10 13:45:30 -04:00
atlas_test.go Ensure better state normalization 2016-08-12 11:09:50 -04:00
azure.go state/azure: support passing of lease ID when writing storage blob (#10115) 2016-11-18 17:26:25 +02:00
azure_test.go state/azure: support passing of lease ID when writing storage blob (#10115) 2016-11-18 17:26:25 +02:00
client_inmem.go state: a bunch of state stuff 2015-02-23 15:13:53 -08:00
etcd.go Use cleanhttp for new http clients 2015-10-22 14:23:59 -04:00
etcd_test.go Etcd remote state backend 2015-10-18 23:24:55 +02:00
file.go state/remote: add undocumented file backend for remote state 2015-03-05 13:15:14 -08:00
file_test.go state/remote: add undocumented file backend for remote state 2015-03-05 13:15:14 -08:00
gcs.go remote state: Add GCS provider for remote state 2016-05-31 13:42:57 -05:00
gcs_test.go remote state: Add GCS provider for remote state 2016-05-31 13:42:57 -05:00
http.go Basic authentication for HTTP remote state backend 2017-01-19 21:01:50 -05:00
http_test.go Use cleanhttp for new http clients 2015-10-22 14:23:59 -04:00
manta.go state/remote: New provider - manta 2016-09-14 20:44:52 +01:00
manta_test.go state/remote: New provider - manta 2016-09-14 20:44:52 +01:00
remote.go state/remote: remove consul since we converted that 2017-01-26 14:33:50 -08:00
remote_test.go Add locking for s3 state 2017-01-30 17:16:57 -05:00
s3.go Add locking for s3 state 2017-01-30 17:16:57 -05:00
s3_test.go Add locking for s3 state 2017-01-30 17:16:57 -05:00
state.go Add remote state locking 2017-01-30 17:16:57 -05:00
state_test.go state/remote: increment serial properly 2015-02-23 21:30:59 -08:00
swift.go Add token authentication to Swift remote 2016-12-20 18:22:48 +01:00
swift_test.go fmt 2015-06-23 22:31:24 -07:00
testing.go state/remote: remove consul since we converted that 2017-01-26 14:33:50 -08:00