-
Notifications
You must be signed in to change notification settings - Fork 29
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
Create html based report for dry runs for cloud providers. #138
Create html based report for dry runs for cloud providers. #138
Conversation
Signed-off-by: M Sajid Mansoori <[email protected]>
58ff6c0
to
e0975a9
Compare
e0975a9
to
fbde185
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.
I would love to see Resource Types being on Rows
and the data of them in the next column.
cloudwash/utils.py
Outdated
logger.info("Resources eligible for cleanup:") | ||
for key, value in resource_data.items(): | ||
if value and key != "provider": | ||
logger.info( |
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.
This is repeating Deletable VMs
with VMs
(or any resource type), So its good to keep the old format of:
=========== DRY SUMMARY ============
VMs:
Deletable: ['test-bvhoduliam']
Stoppable: ['foremanqe-nightly2']
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.
Makes sense, refactored the code to print the same way.
61c128b
to
b988f63
Compare
b988f63
to
b9af1d1
Compare
This PR adds functionality to create html based reports for dry runs for AWS, AZURE, GCP.
Sample report attached.