-
Notifications
You must be signed in to change notification settings - Fork 268
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
Fix AWS Health Event Bridge Rule #633
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.
Good work! Just a few comments.
/lgtm 👍 |
this PR missed also updating the cfn sample:
aws-node-termination-handler/README.md Line 340 in 82f3a25
vs aws-node-termination-handler/docs/cfn-template.yaml Lines 35 to 42 in 82f3a25
|
Thank you @vincentgna for noticing it, will update cfn sample as well. |
Issue #, if available: #550
Description of changes:
Modified the Event Bridge Rule for "MyK8sScheduledChangeRule" in README document to consider the detail-type for the AWS Health Events.
Modified the conditions in "scheduled-change-event" file for checking service and event type category for AWS Health Events. Instead of returning an error, now it returns a warning message and deletes the messages that are not handled by NTH.
For testing the changes, followed the below steps:
- Ran the e2e tests to check whether the modified changes are affecting any other functionalities.
- Tried to send an AWS health event from different service other than EC2 from SQS service.
- Verified if the sent message has been deleted and a warning message is returned.
- Tried to send an AWS Health Event with EC2 service and verified if the output for that Event is as expected.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.