github cloudposse/terraform-aws-tfstate-backend v1.9.1

5 hours ago

🐛 Bug Fixes

docs: add lifecycle rules section to README @osterman (#199) ## what
  • Add a "Lifecycle Rules" section to the README.
  • Show how to add an aws_s3_bucket_lifecycle_configuration with the s3_bucket_id output:
    • Remove noncurrent state versions.
    • Optionally expire small (empty) state objects, for destroyed workspaces.

why

  • The module does not create a lifecycle configuration, and a bucket can have only one. Users add it outside the module, so the module does not conflict with rules that users already have.
  • Versioning keeps the previous version of an expired state, so users can restore it until the noncurrent rule removes it.

references

🤖 Generated with Claude Code

https://claude.ai/code/session_01JW9Go7ujHrXLWGtnmbgynt

Don't miss a new terraform-aws-tfstate-backend release

NewReleases is sending notifications on new releases.