Tools / Editor

CloudFormation & ARM to Mermaid

Convert supported CloudFormation or ARM resources into a dependency diagram. Review warnings and distinguish deployment links from network traffic.

Understand which dependencies are extracted

Inspect deployment relationships in AWS CloudFormation or Azure ARM JSON/YAML. The converter extracts supported resources and references into a flowchart. Use it to discuss what depends on what, rather than treating the output as a discovered network architecture.

A worked example

Input

Resources:
  Database:
    Type: AWS::RDS::DBInstance
  API:
    Type: AWS::Lambda::Function
    DependsOn: Database
    Properties:
      Environment:
        Variables:
          DB: !Ref Database

Diagram source

flowchart LR
n0["Database · AWS::RDS::DBInstance"]
n1["API · AWS::Lambda::Function"]
n1 -->|depends on| n0
The API depends on the database. An arrow represents a deployment dependency, not proof of a runtime request, open firewall path, or network connection.

How to use this tool

  1. Paste one CloudFormation or ARM document with resource definitions.
  2. Convert and inspect warnings about expressions and constructs that cannot be evaluated.
  3. Compare resource IDs and dependency arrows with the original template before using the diagram in a review.

What to check

DetailGuidance
AWS referencesDependsOn, Ref, and GetAtt can identify dependencies. The tool does not connect to an AWS account.
ARM scopeLiteral resource names in dependsOn are supported. Expressions, conditions, loops, and nested deployments are not evaluated.
Unsupported behaviorFn::Sub and other unevaluated constructs can leave the diagram incomplete. Conversion warnings are part of the result, not optional decoration.

Common questions

Does this show the infrastructure currently deployed?

No. It reads the supplied template. Drift, deployed resource state, permissions, and runtime traffic are outside the conversion. Use cloud inventory and monitoring tools for those questions.