-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Feature Request: Add Option for Lifecycle Policies
Overview
It would be beneficial to enhance the functionality of the CLI-driven Test Workspace by adding support for S3 bucket lifecycle policies. This feature would allow users to manage their S3 objects' lifecycle automatically, such as transitioning objects to different storage classes or even deleting them after a certain period.
Proposed Changes
-
Introduce a new variable
lifecycle_rulesto define the desired lifecycle policies in a structured format. This could include options like:- Transition rules (e.g., move objects to Glacial storage after 30 days)
- Expiration rules (e.g., delete objects after 1 year)
-
Update the S3 bucket resource in the Terraform configuration to implement these lifecycle policies based on user-defined variables.
Benefits
- Reduces manual effort in managing the S3 bucket contents.
- Helps in optimizing storage costs by ensuring that objects are moved to cheaper storage or deleted when no longer needed.
Implementation
Let me know if you would be interested in collaborating on this feature, or if there are existing guidelines for contributing enhancements to this project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels