Add lifecycle configuration to delete objects under a certain size to remove destroyed states #147
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the Feature
It's nice to look at the s3 state bucket to see which components and root dirs contain resources
After destroying root components and resources, the state file object continues to exist in s3. The state object has very few characters in there. It would be nice to expire these objects when they are less than a certain number of bytes.
Expected Behavior
Expire s3 state objects when the objects are less than N bytes
Use Case
See above
Describe Ideal Solution
Lifecycle rule
Alternatives Considered
N/A
Additional Context
The text was updated successfully, but these errors were encountered: