Skip to content

Commit

Permalink
Stability - s3_lifecycle (ansible-collections#448)
Browse files Browse the repository at this point in the history
* Add aws retry
* re-enable lifecycle tests
* changelog
* Rename S3 bucket used by tests
* Cleanup docs
* Use datetime to be a little more flexible with the date formats
* Rework and add support for waiting for changes to propagate
* Wait for changes to propagate in tests s3 lifecycle events are especially susceptible to eventual consistency
* Test examples are also idempotent...
* More changelogs
* Catch Amazon's "Nothing Changed" error (can happen when just trying to enable/disable a rule)
  • Loading branch information
tremble authored Mar 25, 2021
1 parent da87de5 commit 08fd51f
Show file tree
Hide file tree
Showing 5 changed files with 377 additions and 149 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/448-s3_lifecycle-stability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
minor_changes:
- s3_lifecycle - Add retries on common AWS failures (https://github.com/ansible-collections/community.aws/pull/448).
- s3_lifecycle - Fix idempotency when using dates instead of days (https://github.com/ansible-collections/community.aws/pull/448).
- s3_lifecycle - Add a ``wait`` parameter to wait for changes to propagate after being set (https://github.com/ansible-collections/community.aws/pull/448).
Loading

0 comments on commit 08fd51f

Please sign in to comment.