Skip to content

state_list

List the resources in the workspace’s state — tofu state list, one row per instance in address order with its provider, schema version, taint, dependencies and identity — plus the root outputs. include_values adds each resource’s attributes, read from the engine’s records with the sensitive_values the provider schemas mark; sensitive values print as ‘__cty_sensitive__’ unless show_sensitive.

Tiers: read · plan · apply · full

Annotation Value
title List state resources
readOnlyHint true
destructiveHint false
idempotentHint true
openWorldHint true
Name Type Required Description
workspace_alias string no Workspace alias, as ‘open’ named it. Omit for the workspace opened without an alias (‘default’), however many others are open.
include_values boolean no Include each resource’s attribute values (default false), read from the engine’s records with their sensitive_values.
show_sensitive boolean no Print sensitive values in the clear instead of ‘__cty_sensitive__’ (default false). Only when you need the secret: it enters the conversation.

Turf™ is a trademark of Turf LLC. Terraform® is a trademark of HashiCorp. Ansible® is a trademark of Red Hat, LLC, registered in the United States and other countries. Helm®, Kubernetes®, Prometheus® and OpenTelemetry® are registered trademarks, and Jaeger™ is a trademark, of the Linux Foundation. OpenTofu® and Model Context Protocol® are registered trademarks of LF Projects, LLC. All other trademarks are the property of their respective owners. Turf is not affiliated with, endorsed by, or sponsored by HashiCorp, IBM, Red Hat, the Linux Foundation, LF Projects or the OpenTofu project.

© 2026 Turf LLC. Free for individuals, education and small businesses within the Community limits, under the Turf Community Edition License 1.0. Government and larger organizations need a commerciallicense.turf.build · Discord ·GitHub