Skip to content

horie-t/tf2puml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf2puml

Generate PlantUML diagram from Terraform files.

Development

Generate the ANTLR4 parser classes:

./mvnw antlr4:antlr4

View the parse tree:

mkdir /tmp/tf2puml
cp src/main/antlr4/com/t_horie/tf2puml/application/service/parser/Terraform.g4 /tmp/tf2puml
cd /tmp/tf2puml
antlr4 Terraform.g4
javac Terraform*.java
grun Terraform file_ -gui <path-to-terraform-file>

Build

./mvnw clean package

Run

./target/tf2puml-0.0.1-SNAPSHOT.jar --from=<path-to-terraform-file> --to=<path-to-plantuml-file>

About

Generate PlantUML diagram from Terraform files.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published