# Stack Visualizer

See each Terraform stack, its state and drift, and fix single resources with confirmation.

Source: https://docs.trycloudforge.com/stack-visualizer

## Open it


Choose **Stack Visualizer** on CloudForge Home or in the **Blueprint** menu. You can also run **CloudForge: Show Stack Visualizer** from the Command Palette.


To choose the AWS profile CloudForge uses, choose the **AWS** button in the toolbar. If you do not pick one, CloudForge uses the AWS settings already on your computer. Your choice is saved for this project.



## What you see


- The resources each stack declares in its code.
- The state of each resource, as Terraform records it.
- Drift: places where your AWS account no longer matches your code, found with a Terraform plan.



## Fix a single resource


Select a resource to act on it:


- **Taint** marks a resource to be replaced on the next deploy. **Untaint** removes that mark.
- **Destroy (-target)** deletes the resource from your AWS account.
- **Remove from state** stops Terraform from tracking the resource. The resource itself stays in AWS.


Every action asks you to confirm. For destroy and remove from state, you type the resource address exactly. If the address does not match, nothing changes.


Data sources are read-only. Actions are turned off while a deploy is running.
