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:
parent
817be7b23f
commit
49c42b9830
|
@ -109,3 +109,4 @@ The following configuration options are supported:
|
||||||
|
|
||||||
* `expire_after` - (Optional) How long should the `terraform.tfstate` created at `container`
|
* `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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue