Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] lifecycle policy for s3 buckets #156

Merged
merged 2 commits into from
Dec 4, 2019
Merged

Conversation

ryanking
Copy link
Contributor

@ryanking ryanking commented Dec 3, 2019

S3 buckets will now have a lifecycle policy that does a few things

  1. incomplete multipart uploads will be aborted after 14 days doc
  2. non-current versions will be moved to infrequent-access storage after 30 days
  3. non-current versions will be deleted after 365 days

The test for this module is also changed from just 'init' to doing an apply.

Test Plan

  • newly updated unit test

References

S3 buckets will now have a lifecycle policy that does a few things

1. incomplete multipart uploads will be aborted after 14 days [doc](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config)
2. non-current versions will be moved to infrequent-access storage after 30 days
3. non-current versions will be deleted after 365 days

The test for this module is also changed from just 'init' to doing an apply.
@ryanking ryanking requested a review from a team as a code owner December 3, 2019 22:48
@czimergebot czimergebot merged commit 190c3c2 into master Dec 4, 2019
@czimergebot czimergebot deleted the ryanking/s3-lifecycle branch December 4, 2019 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants