Recommend bucket versioning for S3 remote state. (#6456)

This commit is contained in:
Cameron Stokes 2016-05-03 08:54:53 -07:00 committed by Paul Stack
parent 181463a5af
commit b005709ed1
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ Stores the state as a given key in a given bucket on [Amazon S3](https://aws.ama
make them included in cleartext inside the persisted state. make them included in cleartext inside the persisted state.
Use of environment variables or config file is recommended. Use of environment variables or config file is recommended.
~> **Warning!** It is highly recommended to enable
[Bucket Versioning](http://docs.aws.amazon.com/AmazonS3/latest/UG/enable-bucket-versioning.html)
on the S3 bucket to allow for state recovery in the case of accidental deletions and human error.
## Example Usage ## Example Usage
``` ```