mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-15 04:00:58 -05:00
The new nav structure demanded a few new pages that give context about a feature or workflow. In a few cases, they take text from an existing page. Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com> Co-authored-by: Judith Malnick <judith.patudith@gmail.com>
22 lines
777 B
Markdown
22 lines
777 B
Markdown
---
|
|
layout: "docs"
|
|
page_title: "Inspecting State - Terraform CLI"
|
|
---
|
|
|
|
# Inspecting State
|
|
|
|
Terraform includes some commands for reading and updating state without taking
|
|
any other actions.
|
|
|
|
- [The `terraform state list` command](/docs/commands/state/list.html)
|
|
shows the resource addresses for every resource Terraform knows about in a
|
|
configuration, optionally filtered by partial resource address.
|
|
|
|
- [The `terraform state show` command](/docs/commands/state/show.html)
|
|
displays detailed state data about one resource.
|
|
|
|
- [The `terraform refresh` command](/docs/commands/refresh.html) updates
|
|
state data to match the real-world condition of the managed resources. This is
|
|
done automatically during plans and applies, but not when interacting with
|
|
state directly.
|