I'm looking for effective tools or scripts that can conduct a bulk discovery of resources within an AWS account or Azure tenant. Ideally, I want to gather all objects along with their configurations and logical connections (like DNS names going to NLBs, then to target groups, and on to ECS), and export this data in a CSV format. Being able to create diagrams of these relationships would be a nice bonus.
I checked out Cloudcraft but found it only supports AWS and doesn't offer CSV exports. Hava wasn't great, and Cloudockit feels too expensive. My ultimate goal is to get a comprehensive export of all resources for manual analysis related to migrations or audits.
2 Answers
Cloudockit is indeed on the pricier side but it does work well for what you need. As for alternatives, you might want to check out Lucidchart. However, keep in mind that it doesn't export to CSV.
You can use AWS Resource Explorer to dump all your resources into a CSV file. Just know that it'll include a lot of stuff like IAM and default EC2 resources. The downside is it doesn’t show the relationships between those resources. You might still consider exporting to CSV and then using a diagram tool like Ilograph to visualize the setup. They have a useful article on pairing those tools together.
That sounds promising! I think I might give that a shot. Could be a bit much to set up, but if it gets the raw content I need, that’s fine with me. Diagrams can be optional for now.
You could also try feeding that CSV into an LLM with the AWS Labs diagramming MCP; I've heard it does a great job. I'm planning to test kiro-cli once I’m back at work next week.

The issue with Lucidchart is that it doesn't support Azure, and without CSV export, it's not ideal for what I'm looking for. I'd really like a solution that works for both AWS and Azure with that CSV feature.