patrickchugh / terravision

Terravision creates Professional Cloud Architecture Diagrams from your Terraform code automatically. Supports AWS, Google and Azure.
Mozilla Public License 2.0
827 stars 79 forks source link

chore: add a dev container for local development #61

Closed patheard closed 7 months ago

patheard commented 1 year ago

chore: add a dev container for local development

Add a dev container that can be used to create a working local dev environment or with GitHub Codespaces. This will make it easier for new contributors to get the project up and running.

It handles installing all required dependencies and makes the required $PATH and file permission changes.

Running in a GitHub Codespace

https://github.com/patrickchugh/terravision/assets/2110107/3c8c4f71-ee52-4025-a150-b8898b22a23d

Type of Change

Checklist

All Submissions:

Changes to Core Features:

patrickchugh commented 1 year ago

Thanks for this, Great stuff and I am very grateful. However, I am doing a major revamp of the interpreter engine that uses the Terraform binary now so please wait for that PR first and then we can include this.

patrickchugh commented 1 year ago

Hello, @patheard thank you for your feedback and thanks for testing out Terravision and helping to make this a better product. I have recently completed a major revamp to the code which uses the terraform binary to download source files and generate initial relationships, before augmenting it with source code parsing as before. This is a significant departure from the previous approach and whilst slower, ensures a more accurate output and will handle all terraform in built functions now when encountered in the source. Please do a git pull and re-test again your PR with the latest source code. If needed, amend and I will happily merge it. Once again, thanks for helping and look forward to hearing from you soon.