-
Notifications
You must be signed in to change notification settings - Fork 398
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
ELB info: return all LB if names is not defined #693
ELB info: return all LB if names is not defined #693
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to raise this PR. I encountered this issue a couple of days ago when working on converting elb_classic_lb over to boto3 (ansible-collections/amazon.aws#377) and hadn't had chance to look into it yet.
From a quick look the code looks reasonable.
Please could you also add a test to https://github.com/ansible-collections/community.aws/blob/main/tests/integration/targets/elb_classic_lb/tasks/main.yml it only needs to be something as simple as
- elb_classic_lb_info:
names: '{{ omit }}'
register: info
- assert:
that:
- info.elbs | length > 0
142821e
to
f1853ea
Compare
recheck |
f1853ea
to
bd80392
Compare
bd80392
to
4aaad9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
SUMMARY
Documentation says
But doing this
elb_classic_lb_info
returns an empty list.ISSUE TYPE
COMPONENT NAME
elb_classic_lb_info
ADDITIONAL INFORMATION