Add info on dynamodb locking multiple state files as per issue #15303

This commit is contained in:
charlotte.mach 2019-10-21 20:21:24 +01:00 committed by Nick Fagerlund
parent d350818126
commit 172d6caf04
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ Stores the state as a given key in a given bucket on
This backend also supports state locking and consistency checking via This backend also supports state locking and consistency checking via
[Dynamo DB](https://aws.amazon.com/dynamodb/), which can be enabled by setting [Dynamo DB](https://aws.amazon.com/dynamodb/), which can be enabled by setting
the `dynamodb_table` field to an existing DynamoDB table name. the `dynamodb_table` field to an existing DynamoDB table name.
A single DynamoDB table can be used to lock multiple remote state files. Terraform generates key names that include the values of the `bucket` and `key` variables.
~> **Warning!** It is highly recommended that you enable ~> **Warning!** It is highly recommended that you enable
[Bucket Versioning](http://docs.aws.amazon.com/AmazonS3/latest/UG/enable-bucket-versioning.html) [Bucket Versioning](http://docs.aws.amazon.com/AmazonS3/latest/UG/enable-bucket-versioning.html)