docs: add warning to backend/swift about auto-expire

If the user uses the auto-expire value in the backend/swift settings
then swift will automatically delete their Statefile which is likely
something the user doesn't want given how Terraform works.
This commit is contained in:
Tom Harvey 2018-10-29 15:08:27 -05:00 committed by Doug Goldstein
parent 817be7b23f
commit 49c42b9830
No known key found for this signature in database
GPG Key ID: C88CD4C6DF24365D
1 changed files with 1 additions and 0 deletions

View File

@ -109,3 +109,4 @@ The following configuration options are supported:
* `expire_after` - (Optional) How long should the `terraform.tfstate` created at `container`
be retained for? If specified, Swift [expiring object support](https://docs.openstack.org/developer/swift/latest/overview_expiring_objects.html) is enabled on the state. Supported durations: `m` - Minutes, `h` - Hours, `d` - Days.
~> **NOTE:** Since Terraform is inherently stateful - we'd strongly recommend against auto-expiring Statefiles.