explain_replace
Explains why a Terraform/OpenTofu resource is being replaced by showing the action reason, forcing attribute changes, replacement order, operational impact, lifecycle hints, and dependent references.
Instructions
Explain why a resource is being replaced: the action_reason, the forcing attribute(s) from replace_paths with their before -> after values, the order (destroy-then-create vs create_before_destroy), what that means (downtime, name collisions), the lifecycle hint from the plan's configuration when present, and the dependents that reference it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |