github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/website/docs/cli/state/inspect.html.md (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Inspecting State - Terraform CLI"
     4  description: "Commands that allow you to read and update state."
     5  ---
     6  
     7  # Inspecting State
     8  
     9  Terraform includes some commands for reading and updating state without taking
    10  any other actions.
    11  
    12  - [The `terraform state list` command](/docs/cli/commands/state/list.html)
    13    shows the resource addresses for every resource Terraform knows about in a
    14    configuration, optionally filtered by partial resource address.
    15  
    16  - [The `terraform state show` command](/docs/cli/commands/state/show.html)
    17    displays detailed state data about one resource.
    18  
    19  - [The `terraform refresh` command](/docs/cli/commands/refresh.html) updates
    20    state data to match the real-world condition of the managed resources. This is
    21    done automatically during plans and applies, but not when interacting with
    22    state directly.