github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/website/docs/cli/inspect/index.mdx (about)

     1  ---
     2  page_title: Inspecting Infrastructure - Terraform CLI
     3  description: >-
     4    Learn commands to inspect dependency information, outputs, etc. Use them for
     5    integration or to understand your infrastructure.
     6  ---
     7  
     8  # Inspecting Infrastructure
     9  
    10  Terraform configurations and state data include some highly structured
    11  information about the resources they manage; this includes dependency
    12  information, outputs (which are pieces of generated or discovered data that the
    13  configuration's author considers important enough to surface to users), and
    14  more.
    15  
    16  Terraform CLI includes some commands for inspecting or transforming this data.
    17  You can use these to integrate other tools with Terraform's infrastructure data,
    18  or just to gain a deeper or more holistic understanding of your infrastructure.
    19  
    20  - [The `terraform graph` command](/cli/commands/graph) creates a visual
    21    representation of a configuration or a set of planned changes.
    22  - [The `terraform output` command](/cli/commands/output) can get the
    23    values for the top-level [output values](/language/values/outputs) of
    24    a configuration, which are often helpful when making use of the infrastructure
    25    Terraform has provisioned.
    26  - [The `terraform show` command](/cli/commands/show) can generate
    27    human-readable versions of a state file or plan file, or generate
    28    machine-readable versions that can be integrated with other tools.
    29  - [The `terraform state list` command](/cli/commands/state/list) can list
    30    the resources being managed by the current working directory and workspace,
    31    providing a complete or filtered list.
    32  - [The `terraform state show` command](/cli/commands/state/show) can print
    33    all of the attributes of a given resource being managed by the current working
    34    directory and workspace, including generated read-only attributes like the
    35    unique ID assigned by the cloud provider.