tf_show_resource
Show one Terraform resource instance's current state attributes by exact address, with sensitive values redacted; read-only, no locks or refreshes.
Instructions
Show one resource instance's attribute values from the current Terraform state (terraform show -json). Read-only: never locks, never refreshes. Sensitive values are redacted: Terraform's own markers, plus values equal to a marked one, secret-like names and secret-shaped strings; a footer says what was hidden and why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Terraform root module directory (must already be initialized). Default: TERRAFORM_CWD_MCP_DIR, else the server's working directory. | |
| address | Yes | Exact resource instance address from tf_state_addresses, e.g. aws_instance.web[0] or module.db.aws_db_instance.this["primary"] | |
| include_null | No | Also list attributes whose value is null | |
| max_value_chars | No | Truncate each value; 0 = no limit (default 200) |