Command: state list - Terraform by HashiCorp

The terraform state list command is used to list resources within a Terraform state.