Skip to content

Commit b005709

Browse files
clstokesstack72
authored andcommitted
Recommend bucket versioning for S3 remote state. (hashicorp#6456)
1 parent 181463a commit b005709

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

website/source/docs/state/remote/s3.html.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Stores the state as a given key in a given bucket on [Amazon S3](https://aws.ama
1414
make them included in cleartext inside the persisted state.
1515
Use of environment variables or config file is recommended.
1616

17+
~> **Warning!** It is highly recommended to enable
18+
[Bucket Versioning](http://docs.aws.amazon.com/AmazonS3/latest/UG/enable-bucket-versioning.html)
19+
on the S3 bucket to allow for state recovery in the case of accidental deletions and human error.
20+
1721
## Example Usage
1822

1923
```

0 commit comments

Comments
 (0)