tf_state
Manage Terraform state by listing resources, viewing attributes, moving, or removing resources from state without destroying them.
Instructions
Manage Terraform state. Supports the following operations:
list: List all resources in state
show: Show attributes of a specific resource
mv: Move/rename a resource in state (use with care)
rm: Remove a resource from state without destroying it (destructive)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Resource address for show/rm/mv source, e.g. aws_instance.web | |
| workdir | Yes | Absolute or relative path to the directory containing .tf files | |
| operation | Yes | State operation to perform | |
| workspace | No | Terraform workspace to use (default: current workspace) | |
| destination | No | Destination address for mv operation only |