terraform state list command reference | Terraform | HashiCorp Developer
The terraform state list command lists resources within a Terraform state.