4 ms·
This is a great idea. I'm not sure about the other major cloud providers, but AWS has the AWS CDK which allows you to use TypeScript, Python, Java, and .NET to
by makstaks 7y ago
This is a great idea. I'm not sure about the other major cloud providers, but AWS has the AWS CDK which allows you to use TypeScript, Python, Java, and .NET to create your cloud infrastructure via code. The ability to generate cloud diagrams from AWS CDK code would definitely would be awesome. Hopefully, your work gains transaction, then I can envision other devs writing adapter code for your project.
- andreineculau 7y agoI have a script that we call when generating cloudformation templates to generate a dot graph Cfn2dot source https://github.com/tobiipro/support-firecloud/blob/master/bin/aws-cfn2dot https://github.com/tobiipro/support-firecloud/blob/master/bi... Used like this https://github.com/tobiipro/support-firecloud/blob/master/repo/cfn/inc.mk https://github.com/tobiipro/support-firecloud/blob/master/re... One problem is that you need meta-data to give weights to different resources so that you highlight a lambda resource and not there associated cloudwatch loggroup resource, and its iam role, and iam policy, and its permission resource, etc The other problem is the graph itself shows how the cloudformation resources depend on one another, not how your data/execution pipeline flows. So you need to do it manually or maybe try to add lots of meta-data to the types of resources.