terraform/backend/remote-state/s3
James Bardin fa4dc01cf4 add named state support to the s3 backend
This adds named state (environment) support to the S3 backend.

A state NAME will prepend the configured s3 key with `env:/NAME/`.
The default state will remain rooted in the bucket for backwards
compatibility.

Locks in DynamoDB use the S3 key as the as the primary key value, so
locking will work as expected for multiple states.
2017-03-22 16:59:13 -04:00
..
backend.go move s3 config from client to backend 2017-03-22 15:52:55 -04:00
backend_state.go add named state support to the s3 backend 2017-03-22 16:59:13 -04:00
backend_test.go add named state support to the s3 backend 2017-03-22 16:59:13 -04:00
client.go move s3 config from client to backend 2017-03-22 15:52:55 -04:00
client_test.go move s3 config from client to backend 2017-03-22 15:52:55 -04:00