All products

Diagram Terraform with AI in Eraser

Map resources and module relationships in authorised Terraform configuration to an editable architecture diagram.

You can diagram Terraform with AI in Eraser when a handover spans several small configuration files. A network module may provide information that an application module consumes, but that relationship can be buried in variable and resource references. The terraform-diagrams skill helps an agent represent the relevant objects and their connections in Eraser’s notation.

For infrastructure that spans providers, the diagram can group resources under the appropriate provider and show the links between groups. Reviewing the result alongside the source is useful because a definition in HCL does not prove that the deployed environment currently matches it.

What it does

  • Show how a network module connects to an application.
  • Group related resources without reproducing the entire repository.
  • Explain dependencies to a colleague reviewing a change.
  • Distinguish resources managed by different providers.
  • Edit labels before sharing an architecture overview.

Install and use

  1. Prepare authorised Eraser API access and supply the selected Terraform files to a compatible agent. The generated diagram is rendered by Eraser, so keep secrets and restricted topology out of the submitted content.
  2. Ask for the network and application modules only, including their cross-module references.
  3. Compare the result with the exact source revision before sharing or updating the diagram.

FAQ

Source

Made by Eraser. Original skill: terraform-diagrams, published on GitHub under the MIT licence.

View on GitHub