list Verified current stable Not installed? Observability

List / List Resources Current Project

List Resources Current Project

Lists all resources associated with the current project context.

$
Terminal
list resources;

When To Use

During resource audits or when evaluating resource allocation in current projects.

Pro Tip

Use `--detailed` to retrieve extended metadata about each resource, useful for deeper insights.

Anatomy of Output

Understanding the result

Resource Name: db-instance-01 Type: RDS Status: available Resource Details

Depicts each resource's name, type, and current operational status.

Total Resources: 15 Count Summary

Indicates the total number of resources allocated to the project.

Filtering by tags: {'Environment': 'production'} Filter Notification

Specifies the applied filter criteria for the output.

Power User Variants

Optimized versions

list resources --detailed;

Fetches enhanced details about each resource.

Troubleshooting

Common pitfalls

ResourceNotFound: No resources found matching the specified criteria.

Solution: Check current project context and filters applied.

UnauthorizedOperation: You do not have permission to perform this action

Solution: Review IAM policies and permissions for the executing user.

ServiceUnavailable: The requested resource service is temporarily unavailable.

Solution: Retry the request after ensuring service status is operational.

Command Breakdown

What each part is doing

list
Base Command
The executable that performs this operation. Here it runs List before the shell applies any redirect operators.

Alternative Approaches

Comparable commands in other tools

Alternative observability tools for the same job.