Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
1–10 of 10 posts
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#2This appears to be a jab at Terraform but Terraform's declarative language is supposed to be a step forward from ad-hoc provisioning scripts. One of the issues with imperative scripts is you have to be mindful of intermediate state whereas Terraform allows the users to just think about the initial and final state.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#3> Use Javascript, a true programming language, no more YAML or Domain Specific language. This appears to be a jab at Terraform but Terraform's declarative language is supposed to be a step forward from ad-hoc provisioning scripts. One of the issues with imperative scripts is you have to be mindful of intermediate state whereas Terraform allows the users to just think about the initial and final state.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#4> Use Javascript, a true programming language, no more YAML or Domain Specific language. This appears to be a jab at Terraform but Terraform's declarative language is supposed to be a step forward from ad-hoc provisioning scripts. One of the issues with imperative scripts is you have to be mindful of intermediate state whereas Terraform allows the users to just think about the initial and final state.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#5> Use Javascript, a true programming language, no more YAML or Domain Specific language. This appears to be a jab at Terraform but Terraform's declarative language is supposed to be a step forward from ad-hoc provisioning scripts. One of the issues with imperative scripts is you have to be mindful of intermediate state whereas Terraform allows the users to just think about the initial and final state.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#6Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#7> Use Javascript, a true programming language, no more YAML or Domain Specific language. This appears to be a jab at Terraform but Terraform's declarative language is supposed to be a step forward from ad-hoc provisioning scripts. One of the issues with imperative scripts is you have to be mindful of intermediate state whereas Terraform allows the users to just think about the initial and final state.
The best config systems I've seen leverage a programatic framework to generate declarative JSON/YAML. Rather than needing to bolt one on top.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#8However I like the idea of using these visualizations to grok or monitor infra; say as a Platform or Security engineering team, you might want to keep an eye on specific classes of resource like storage buckets, load balancers, etc.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#9Issue with using config for these things is that more complex structures don't scale that well, in code you can do abstractions to make everything easier to reason about.
Re: Show HN: Generate code and diagrams from live infrastructure, AWS/Azure/GCP
#10A while ago I started using the AWS CDK and never looked back, I can write all the infrastructure code in a real programming language with auto complete and proper IDE support, no more hacky YAML syntax for simple if statements! Issue with using config for these things is that more complex structures don't scale that well, in code you can do abstractions to make everything easier to reason about. https://aws.amazon.c…