Improve visualize.py to load data directly
This commit is contained in:
parent
fd2eec6683
commit
0347efcb38
4 changed files with 12 additions and 14 deletions
5
Makefile
5
Makefile
|
@ -55,8 +55,5 @@ all:
|
|||
ansible-playbook ./playbooks/serguzim.net.yml -t $(TAGS)
|
||||
|
||||
visualize:
|
||||
tofu output --json \
|
||||
| jq 'with_entries(.value |= .value)' \
|
||||
| ./visualize.py \
|
||||
| d2 - infrastructure.svg
|
||||
./visualize.py | d2 - infrastructure.svg
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue