Skip to main content
← All tools

Terraform

Inspect infrastructure state, plans, and outputs

InfrastructureSchema v1.1.0Maintained by mcclowes

Give your agents the context

Install Terraform first. This command installs its capability description and registers your local executable. It doesn't install or run the tool.

clip registry add terraform --purpose "Inspect infrastructure state, plans, and outputs"
clip sync

Coverage: Saved plan and state display, outputs, and resource addresses. This is a partial community description, not a claim of full CLI Spec conformance. Missing mutation markers mean unknown.

Agent validation

This schema hasn't been run against its tool by an agent yet.

How validation works ↗

what's described

Capabilities

Mutation status unknown

terraform show

Display current state or a saved state or plan file. JSON includes sensitive values in plaintext.

terraform show -json saved.tfplan
Mutation status unknown

terraform output

Read root module outputs from state. JSON and raw output reveal sensitive values.

terraform output -json
Mutation status unknown

terraform state list

List resource addresses recorded in state.

terraform state list

Inspect the source

Review the schema's arguments and output fields before use. Community descriptions provide context, not authorization.

Full capability document
{
  "name": "terraform",
  "version": "1.x",
  "description": "Inspect Terraform state and saved plans in an initialized working directory. Mutation status is unknown because configured backends can make remote requests and the CLI checks HashiCorp Checkpoint. Init, plan, apply, and state edits are excluded.",
  "command_layout": "flat",
  "commands": [
    {
      "name": "show",
      "description": "Display current state or a saved state or plan file. JSON includes sensitive values in plaintext.",
      "documentation": "https://developer.hashicorp.com/terraform/cli/commands/show",
      "args": [
        {
          "name": "file",
          "type": "string",
          "description": "Optional saved state or plan path."
        },
        {
          "name": "-json",
          "type": "boolean"
        },
        {
          "name": "-no-color",
          "type": "boolean"
        }
      ],
      "examples": [
        "terraform show -json saved.tfplan"
      ],
      "output_fields": [
        {
          "name": "stdout",
          "type": "string",
          "description": "Human-readable state or plan by default; -json emits a structured object."
        }
      ]
    },
    {
      "name": "output",
      "description": "Read root module outputs from state. JSON and raw output reveal sensitive values.",
      "documentation": "https://developer.hashicorp.com/terraform/cli/commands/output",
      "args": [
        {
          "name": "name",
          "type": "string",
          "description": "Optional output name."
        },
        {
          "name": "-json",
          "type": "boolean"
        },
        {
          "name": "-raw",
          "type": "boolean",
          "description": "Print a named string, number, or boolean without JSON encoding."
        }
      ],
      "examples": [
        "terraform output -json"
      ],
      "output_fields": [
        {
          "name": "stdout",
          "type": "string",
          "description": "All outputs or a named value; -json returns JSON and -raw returns a scalar string."
        }
      ]
    },
    {
      "name": "state list",
      "description": "List resource addresses recorded in state.",
      "documentation": "https://developer.hashicorp.com/terraform/cli/commands/state/list",
      "args": [
        {
          "name": "address",
          "type": "string",
          "description": "Optional address filters; multiple accepted."
        },
        {
          "name": "-id",
          "type": "string",
          "description": "Filter by resource ID."
        }
      ],
      "examples": [
        "terraform state list"
      ],
      "output_fields": [
        {
          "name": "stdout",
          "type": "string",
          "description": "One resource address per line."
        }
      ]
    }
  ],
  "documentation": "https://developer.hashicorp.com/terraform/cli/commands"
}

View source and propose an update ↗

SHA-256: 6d76c372bfa62cd51d3e505508fe01cdbd155140dafdf85d0023d065a010b981