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

Allow S3 lifecycle 'days' parameter in S3 transition lifecycle to be >= 0. Issue #23117 #23120

Merged
merged 3 commits into from
Feb 15, 2022
Merged

Conversation

idanoo
Copy link
Contributor

@idanoo idanoo commented Feb 11, 2022

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #23117

@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/s3 Issues and PRs that pertain to the s3 service. labels Feb 11, 2022
@idanoo idanoo changed the title Draft: Allow S3 lifecycle 'days' parameter in S3 lifecycle to be >= 0. Issue #23117 Draft: Allow S3 lifecycle 'days' parameter in S3 transition lifecycle to be >= 0. Issue #23117 Feb 11, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @idanoo 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@anGie44 anGie44 self-assigned this Feb 11, 2022
@anGie44 anGie44 removed the needs-triage Waiting for first response or review from a maintainer. label Feb 11, 2022
@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed size/XS Managed by automation to categorize the size of a PR. labels Feb 11, 2022
@anGie44 anGie44 marked this pull request as ready for review February 11, 2022 21:18
@idanoo idanoo changed the title Draft: Allow S3 lifecycle 'days' parameter in S3 transition lifecycle to be >= 0. Issue #23117 Allow S3 lifecycle 'days' parameter in S3 transition lifecycle to be >= 0. Issue #23117 Feb 11, 2022
@anGie44
Copy link
Contributor

anGie44 commented Feb 11, 2022

Output of new acceptance tests:

--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionStorageClassOnly_IntelligentTiering (157.39s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionZeroDays_IntelligentTiering (157.41s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionDate_IntelligentTiering (157.71s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionDate_StandardIa (157.74s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionUpdateBetweenDaysAndDate_IntelligentTiering (206.64s)

@anGie44 anGie44 added this to the v4.1.0 milestone Feb 12, 2022
@anGie44 anGie44 added the bug Addresses a defect in current functionality. label Feb 14, 2022
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @idanoo for reporting this issue and contributing here! LGTM 🚀

Output of acceptance tests:

--- PASS: TestAccS3BucketLifecycleConfiguration_basic (155.18s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionStorageClassOnly_IntelligentTiering (155.59s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionZeroDays_IntelligentTiering (155.68s)
--- PASS: TestAccS3BucketLifecycleConfiguration_RuleExpiration_ExpireMarkerOnly (182.64s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionUpdateBetweenDaysAndDate_IntelligentTiering (205.70s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionDate_StandardIa (151.79s)
--- PASS: TestAccS3BucketLifecycleConfiguration_TransitionDate_IntelligentTiering (152.21s)
--- PASS: TestAccS3BucketLifecycleConfiguration_RuleExpiration_EmptyBlock (151.11s)
--- PASS: TestAccS3BucketLifecycleConfiguration_RuleAbortIncompleteMultipartUpload (178.19s)
--- PASS: TestAccS3BucketLifecycleConfiguration_MultipleRules (153.41s)
--- PASS: TestAccS3BucketLifecycleConfiguration_Prefix (151.93s)
--- PASS: TestAccS3BucketLifecycleConfiguration_NonCurrentVersionTransition (151.93s)
--- PASS: TestAccS3BucketLifecycleConfiguration_NonCurrentVersionExpiration (151.26s)
--- PASS: TestAccS3BucketLifecycleConfiguration_FilterWithPrefix (178.50s)
--- PASS: TestAccS3BucketLifecycleConfiguration_DisableRule (201.07s)
--- PASS: TestAccS3BucketLifecycleConfiguration_disappears (149.47s)

@gdavison gdavison merged commit 26f2311 into hashicorp:main Feb 15, 2022
@github-actions
Copy link

This functionality has been released in v4.1.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. documentation Introduces or discusses updates to documentation. service/s3 Issues and PRs that pertain to the s3 service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_s3_bucket_lifecycle_configuration MalformedXML error with transition days set to 0
3 participants