List resources beneath a specific module path.

Section: State File Operations

List module resources

bash
bash
terraform state list module.network
Explanation

List resources beneath a specific module path.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing State File Operations
Pull raw state JSON
Download the latest state and write it to a local file.
OpenIn sheetbashsame section
Push raw state JSON
Upload a local state file into the configured backend.
OpenIn sheetbashsame section
List workspaces
Show available Terraform CLI workspaces for the current configuration.
OpenIn sheetbash2 tag match
Import existing object
Associate an existing infrastructure object with a resource address in state.
OpenIn sheetbash2 tag match
Plan with alternate state path
Use a non-default local state path for commands that support it.
OpenIn sheetbash2 tag match
Move state address
Rename or move a resource address in state.
OpenIn sheetbash2 tag match