github.com/hugorut/terraform@v1.1.3/website/docs/cli/state/inspect.mdx (about)

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