rfernandezdo/Azure Infrastructure Diagrams for Draw.io

Generate dynamic Azure infrastructure diagrams from real Azure resources and export as draw.io files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 3, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: rfernandezdo/inventariographdrawio@545dfb92667d3309e21197f227896a135dce03b2 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
diagram-modeType of diagram to generate: infrastructure (default), components, network, allnoinfrastructure
output-pathPath for the generated draw.io filenoazure-infrastructure-diagram.drawio
tenant-filterFilter resources by specific Tenant IDno
all-tenantsInclude resources from all tenants (disables automatic tenant filtering)nofalse
no-embed-dataDo not embed all data in nodes, only the type fieldnofalse
no-hierarchy-edgesIn network mode, hide hierarchical edges (RGs and VNet-Subnet) keeping network dependenciesnofalse
include-idsSpace-separated list of management group, subscription or resource group IDs to include (and their descendants)no
exclude-idsSpace-separated list of management group, subscription or resource group IDs to exclude (and their descendants)no
export-jsonExport data to JSON file for later processingno
commit-changesWhether to commit the generated diagram files. Options: none, push, prnonone
target-branchTarget branch for committing changes (when commit-changes is push or pr)nomain
pr-titleTitle for the pull request (when commit-changes is pr)noUpdate Azure Infrastructure Diagrams
pr-bodyBody for the pull request (when commit-changes is pr)noAutomated update of Azure infrastructure diagrams generated from current Azure resources.
commit-messageCommit message for the changesnoUpdate Azure infrastructure diagrams
namedescription
diagram-pathPath to the generated draw.io diagram file
json-export-pathPath to the exported JSON file (if export-json was specified)
total-resourcesTotal number of resources found
total-dependenciesTotal number of dependencies found
tenant-idTenant ID used for filtering (if applicable)
pr-numberPull request number (if commit-changes is pr and PR was created)
commit-shaCommit SHA of the changes (if commit-changes is push or pr)