Command
terraform state list
Explanation
Lists all resources tracked in the Terraform state file. Useful for understanding what Terraform currently manages.
Examples
List resources within a specific module
terraform state list module.vpc
terraform state list
Lists all resources tracked in the Terraform state file. Useful for understanding what Terraform currently manages.
List resources within a specific module
terraform state list module.vpc