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