Command
terraform state listExplanation
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.vpcterraform state listLists 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