-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add TicketId to the Email #754
Conversation
@athiruma ptal |
Signed-off-by: Krishna Harsha Voora <[email protected]>
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.
Need minor changes
cloudsensei/lambda_function.py
Outdated
'InstanceType': resource.get('InstanceType')} | ||
if ticket_tags: # Add TicketId tags if available | ||
instance_details['TicketId'] = ticket_tags | ||
long_running_instances_by_user.setdefault(user.lower(), {}).setdefault(region_name, []).append(instance_details) |
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.
move one tab to this one as well. All should be under the if not skip and user:
block
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
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
Type of change
Note: Fill x in []
Description
Add TicketId information to email's sent
For security reasons, all pull requests need to be approved first before running any automated CI