-
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
Gather information about ASG lifecycle hooks #233
Conversation
Hi @salehabbas, Can you please add a changelog fragment to your PR ( https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs ). It would also be great if you can adjust the existing test-suite to cover this new use-case. If you need help, don't hesitate to ping us on IRC. |
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.
It's preferred to use "fail_json_aws" which knows how to properly format the Boto3 exceptions. The ASG tests are currently broken so I think we can skip the requirement for an integration test, and I've tested locally
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 your submission.
The ASG integration tests are currently slow and broken, and I've tested locally.
Hi @salehabbas, thanks for taking the time to submit this PR. I'm sorry it's taken so long to get everything merged. |
* Gather information about ASG lifecycle hooks for community.aws.ec2_asg_info * add a changelog fragment to the change * use fail_json_aws Co-authored-by: Saleh Abbas <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
* Gather information about ASG lifecycle hooks for community.aws.ec2_asg_info * add a changelog fragment to the change * use fail_json_aws Co-authored-by: Saleh Abbas <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
* Gather information about ASG lifecycle hooks for community.aws.ec2_asg_info * add a changelog fragment to the change * use fail_json_aws Co-authored-by: Saleh Abbas <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
* Gather information about ASG lifecycle hooks for community.aws.ec2_asg_info * add a changelog fragment to the change * use fail_json_aws Co-authored-by: Saleh Abbas <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
SUMMARY
Amazon EC2 Auto Scaling lifecycle hooks are part of an AWS ASG. This change include them in the ASG description. They are not returned as part of the
describe_auto_scaling_groups
API call. I am adding them by callingdescribe_lifecycle_hooks
API call.ISSUE TYPE
COMPONENT NAME