-
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
Added the instance_type to report #684
Added the instance_type to report #684
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.
/lgtm
ad0223e
to
d50e724
Compare
@@ -77,7 +77,8 @@ def get_resources(self): | |||
long_running_instances_by_user.setdefault(user.lower(), {}).setdefault(region_name, []).append( | |||
{'InstanceId': resource.get('InstanceId'), | |||
'Name': name, 'LaunchDate': str(launch_time), | |||
'RunningDays': f"{days} days", 'State': resource.get('State', {}).get('Name')}) | |||
'RunningDays': f"{days} days", 'State': resource.get('State', {}).get('Name'), | |||
'InstanceType': resource.get('InstanceType')}) |
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.
can you change the order also here 'InstanceType' before 'RunningDays' ?
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.
No need, It is the data storing/ returning variable.
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
Added the instance_type to the cloudsensei report
For security reasons, all pull requests need to be approved first before running any automated CI