diff_resource
Show attribute-level before-and-after diffs for a single Terraform resource, including nested paths, with unknown values marked and sensitive values masked.
Instructions
Attribute-level diff (before -> after) for one resource, with nested paths such as ingress[0].cidr_blocks[0]. Unknown values show as (known after apply). Sensitive values are ALWAYS shown as (sensitive): by Terraform's sensitivity masks and, as a second layer, by attribute names that look like credentials (password, secret, token, key...).
address: exact address as in the plan, e.g. aws_instance.web["a b"] or module.net.aws_vpc.main[0]. Use list_changes to find addresses; unknown addresses return close matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| address | Yes | ||
| max_attributes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |