├── .dockerignore ├── .github ├── dependabot.yml ├── super-linter.env └── workflows │ ├── build_test.yml │ ├── pull-request-lint.yml │ ├── registry_cleaning.yml │ ├── static-analysis.yml │ └── test.yml ├── .gitignore ├── .goreleaser.yml ├── .hadolint.yaml ├── .pre-commit-config.yaml ├── .yamllint.yaml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── arrayflag.go ├── cytoscape ├── types.go └── writer.go ├── doc ├── config1.gv ├── config1.html ├── config1.json ├── config1_cyto_embedded.png ├── config1_cyto_no-embedded.png ├── config1_graphviz_embedded.png ├── config1_graphviz_no-embedded.png └── config1_raw.png ├── go.mod ├── go.sum ├── graphviz ├── loader.go ├── reader.go └── writer.go ├── main.go ├── samples ├── .gitignore ├── config1 │ ├── .terraform.lock.hcl │ ├── backend.tf │ ├── main.tf │ ├── noop │ │ ├── main.tf │ │ └── versions.tf │ ├── outputs.tf │ ├── random_file │ │ ├── main.tf │ │ ├── outputs.tf │ │ ├── variables.tf │ │ └── versions.tf │ └── versions.tf └── gcp │ ├── .terraform.lock.hcl │ ├── README.md │ ├── backend.tf │ ├── envs │ └── staging.tfvars │ ├── gcs.tf │ ├── network.tf │ ├── outputs.tf │ ├── providers.tf │ ├── service_accounts.tf │ ├── variables.tf │ └── versions.tf ├── templates └── index.gohtml ├── test ├── Dockerfile ├── README.md ├── config1_expected.gv ├── config1_expected.json ├── package-lock.json ├── package.json ├── test.bats └── test_template.gohtml ├── tfgraph └── tfgraph.go └── version.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/super-linter.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/super-linter.env -------------------------------------------------------------------------------- /.github/workflows/build_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/workflows/build_test.yml -------------------------------------------------------------------------------- /.github/workflows/pull-request-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/workflows/pull-request-lint.yml -------------------------------------------------------------------------------- /.github/workflows/registry_cleaning.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/workflows/registry_cleaning.yml -------------------------------------------------------------------------------- /.github/workflows/static-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/workflows/static-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | 3 | dist/ 4 | 5 | **/*.log 6 | -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /.hadolint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.hadolint.yaml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.yamllint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/.yamllint.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/README.md -------------------------------------------------------------------------------- /arrayflag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/arrayflag.go -------------------------------------------------------------------------------- /cytoscape/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/cytoscape/types.go -------------------------------------------------------------------------------- /cytoscape/writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/cytoscape/writer.go -------------------------------------------------------------------------------- /doc/config1.gv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1.gv -------------------------------------------------------------------------------- /doc/config1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1.html -------------------------------------------------------------------------------- /doc/config1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1.json -------------------------------------------------------------------------------- /doc/config1_cyto_embedded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1_cyto_embedded.png -------------------------------------------------------------------------------- /doc/config1_cyto_no-embedded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1_cyto_no-embedded.png -------------------------------------------------------------------------------- /doc/config1_graphviz_embedded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1_graphviz_embedded.png -------------------------------------------------------------------------------- /doc/config1_graphviz_no-embedded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1_graphviz_no-embedded.png -------------------------------------------------------------------------------- /doc/config1_raw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/doc/config1_raw.png -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/go.sum -------------------------------------------------------------------------------- /graphviz/loader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/graphviz/loader.go -------------------------------------------------------------------------------- /graphviz/reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/graphviz/reader.go -------------------------------------------------------------------------------- /graphviz/writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/graphviz/writer.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/main.go -------------------------------------------------------------------------------- /samples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/.gitignore -------------------------------------------------------------------------------- /samples/config1/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/.terraform.lock.hcl -------------------------------------------------------------------------------- /samples/config1/backend.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/backend.tf -------------------------------------------------------------------------------- /samples/config1/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/main.tf -------------------------------------------------------------------------------- /samples/config1/noop/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/noop/main.tf -------------------------------------------------------------------------------- /samples/config1/noop/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/noop/versions.tf -------------------------------------------------------------------------------- /samples/config1/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/outputs.tf -------------------------------------------------------------------------------- /samples/config1/random_file/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/random_file/main.tf -------------------------------------------------------------------------------- /samples/config1/random_file/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/random_file/outputs.tf -------------------------------------------------------------------------------- /samples/config1/random_file/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/random_file/variables.tf -------------------------------------------------------------------------------- /samples/config1/random_file/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/config1/random_file/versions.tf -------------------------------------------------------------------------------- /samples/config1/versions.tf: -------------------------------------------------------------------------------- 1 | terraform { 2 | required_version = ">= 1.3.6" 3 | } 4 | -------------------------------------------------------------------------------- /samples/gcp/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/.terraform.lock.hcl -------------------------------------------------------------------------------- /samples/gcp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/README.md -------------------------------------------------------------------------------- /samples/gcp/backend.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/backend.tf -------------------------------------------------------------------------------- /samples/gcp/envs/staging.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/envs/staging.tfvars -------------------------------------------------------------------------------- /samples/gcp/gcs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/gcs.tf -------------------------------------------------------------------------------- /samples/gcp/network.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/network.tf -------------------------------------------------------------------------------- /samples/gcp/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/outputs.tf -------------------------------------------------------------------------------- /samples/gcp/providers.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/providers.tf -------------------------------------------------------------------------------- /samples/gcp/service_accounts.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/service_accounts.tf -------------------------------------------------------------------------------- /samples/gcp/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/variables.tf -------------------------------------------------------------------------------- /samples/gcp/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/samples/gcp/versions.tf -------------------------------------------------------------------------------- /templates/index.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/templates/index.gohtml -------------------------------------------------------------------------------- /test/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/Dockerfile -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/README.md -------------------------------------------------------------------------------- /test/config1_expected.gv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/config1_expected.gv -------------------------------------------------------------------------------- /test/config1_expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/config1_expected.json -------------------------------------------------------------------------------- /test/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/package-lock.json -------------------------------------------------------------------------------- /test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/package.json -------------------------------------------------------------------------------- /test/test.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/test.bats -------------------------------------------------------------------------------- /test/test_template.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/test/test_template.gohtml -------------------------------------------------------------------------------- /tfgraph/tfgraph.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/tfgraph/tfgraph.go -------------------------------------------------------------------------------- /version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcasteran/terraform-graph-beautifier/HEAD/version.go --------------------------------------------------------------------------------