Skip to content

diagram

infra-inspector diagram

Generate the diagram from an inventory file

Synopsis

It generates a diagram file (.drawio) that you can open with https://www.drawio.com/, from where you can convert it into different formats (i.e. png, svg)

infra-inspector diagram [flags]

Examples

diagram --file ./aws-inventory.yml --output ./output.drawio

Options

  -f, --file stringArray    inventory file (default is ./inventory.yaml); you can provide multiple files by using this argument more than once, all the files will be merged (default [./inventory.yaml])
  -h, --help                help for diagram
  -o, --output-dir string   output directory (default is current dir) (default ".")

SEE ALSO

  • infra-inspector - Automate the creation of inventories and diagrams of resources deployed in the cloud
Auto generated by spf13/cobra on 20-Mar-2025