Refactoring Cloudiscovery CLI to support [provider] [resource] format
The purpose of this PR is to refactor the CLI to support multiple cloud providers. The changes proposed here will provide benefits in the following manners:
- The argparser has been updated to nest subparsers under cloud providers
(aws | az) (vpc | security | etc.)
- Allows for future standardization of resource arguments (not part of this PR)
- Instead of provider-specific resource calls, generalize them:
cloudiscovery aws network --vpc-id vpc-xxxxxxxxcloudiscovery az network --vnet-name my-vnet
- Instead of provider-specific resource calls, generalize them:
Note - This is a breaking change for any automated implementations of Cloudiscovery. Commands such as aws-vpc and similar are no longer supported in this refactor.
This is to be the first of a series of pull requests to begin enabling multi-cloud provider support.
Hi @jacorbello! Thanks for this PR! I'll try to analyze it tomorrow, ok?! 🤟🤟😃😃
Nice work! 👍🏻
I need to check circleci build, I think it crashed. Checking now.
I need to check circleci build, I think it crashed. Checking now.
Might have been the change in version number, I forgot to update the git tag as well. Just updated that and pushed the tag up. Maybe that'll help? 🤷
I need to check circleci build, I think it crashed. Checking now.
Might have been the change in version number, I forgot to update the git tag as well. Just updated that and pushed the tag up. Maybe that'll help? 🤷
Hii.. I was full of work last week, but this week I'm focusing in cloudiscovery! Let me fix this PR to merge!
Hey @leandrodamascena, just checking in. Anything I can do to help with this PR?