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

[aws] s3_lifecycle fix backwards compatibility without providing prefix #45318

Merged
merged 1 commit into from
Sep 6, 2018

Conversation

ryansb
Copy link
Contributor

@ryansb ryansb commented Sep 6, 2018

SUMMARY

Because boto3 does more parameter validation than boto, use .get() instead of assuming a rule has a Transitions or Filter key (both of which are optional)

Fixes #44557

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
ANSIBLE VERSION

ADDITIONAL INFORMATION

… more parameter validation than boto (ansible#45308)

Use .get() instead of assuming a rule has a Transitions or Filter key (both of which are optional)

(cherry picked from commit 8b34161)
@ansibot
Copy link
Contributor

ansibot commented Sep 6, 2018

cc @wimnat
click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Sep 6, 2018

Hi @ryansb,

Thank you for the pullrequest, just so you are aware we have a dedicated Working Group for aws.
You can find other people interested in this in #ansible-aws on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 aws backport This PR does not target the devel branch. bug This issue/PR relates to a bug. cloud committer_review In order to be merged, this PR must follow the certified review workflow. module This issue/PR relates to a module. support:certified This issue/PR relates to certified code. test This PR relates to tests. labels Sep 6, 2018
@abadger abadger merged commit c96a440 into ansible:stable-2.7 Sep 6, 2018
@abadger
Copy link
Contributor

abadger commented Sep 6, 2018

Merged for the 2.7.0rc1 release.

@ryansb ryansb deleted the cherry/s3_lifecycle branch October 5, 2018 20:08
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 aws backport This PR does not target the devel branch. bug This issue/PR relates to a bug. cloud committer_review In order to be merged, this PR must follow the certified review workflow. module This issue/PR relates to a module. support:certified This issue/PR relates to certified code. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants