Canonical: https://weaveos.com/reference/terraform/inspect-resources-in-state

1. [Software capabilities](https://weaveos.com/reference)
2. /[Terraform](https://weaveos.com/reference/terraform)
3. /Inspect resources tracked in Terraform state

[![](https://weaveos.com/reference/logos/terraform.svg)Terraform](https://weaveos.com/reference/terraform)

# Inspect resources tracked in Terraform state

Use terraform state list to find resource addresses in the current state. Use terraform show -json to inspect a state snapshot when you need structured resource values or module details.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1CLI: terraform state list](https://weaveos.com/reference/terraform/inspect-resources-in-state#method-1)
2. [2CLI: terraform show -json](https://weaveos.com/reference/terraform/inspect-resources-in-state#method-2)

CLI

### terraform state list

Print the addresses Terraform tracks. Supply a resource or module address to narrow the output.

[Read source: Terraform state list command reference](https://developer.hashicorp.com/terraform/cli/commands/state/list)

- Requirements

  A Terraform working directory with its state backend configured and permission to read the active workspace’s state.

- Limitations

  The listing contains resource addresses. Use state show to inspect the attributes of a single resource.

Example shell

Copy

```
terraform state list module.network
```

CLI

### terraform show -json

Read the current state or a supplied state file as JSON. Use the values and module structure to inspect tracked resources in code.

[Read source: Terraform show command reference](https://developer.hashicorp.com/terraform/cli/commands/show)

- Requirements

  Access to the state and a Terraform installation that can interpret the provider schemas used by the snapshot.

- Limitations

  Sensitive values in state appear in plaintext in JSON output. Treat the output as sensitive.

## More from Terraform

[View all 1 Terraform tasks](https://weaveos.com/reference/terraform)

## The same task in other apps

- [![](https://weaveos.com/reference/logos/fivetran.png)Fivetran](https://weaveos.com/reference/fivetran)

  ### [Inspect Fivetran connection sync state](https://weaveos.com/reference/fivetran/inspect-connection-sync-state)

  Use the Connections API to read setup and sync state in an automation. Use the Fivetran dashboard when an operator needs the connection's Sync History chart and status details.

  API, Interface
