Command: state list | Terraform | HashiCorp Developer
The terraform state list command is used to list resources within a Terraform state.