-
Notifications
You must be signed in to change notification settings - Fork 854
CLI describe command fails to resolve resource by logical name #14669
Copy link
Copy link
Description
aspire describe cache fails with "Resource 'cache' not found", even though aspire describe (with no argument) lists a resource with the display name cache.
The underlying resource name includes a generated suffix (e.g. cache-zuyppzgw), and using that full name works: aspire describe cache-zuyppzgw succeeds.
Expected Behavior
aspire describe cache should resolve the logical/friendly resource name to the underlying suffixed resource name, consistent with how the dashboard and other tooling surface resources.
Actual Behavior
The command does an exact match on the internal resource name and fails to find it.
Steps to Reproduce
- Create an AppHost with a Redis cache resource named
cache - Run the app
- Run
aspire describe— observe the resource is listed ascache(type: Container) - Run
aspire describe cache— getResource 'cache' not found - Run
aspire describe cache-<suffix>— works correctly
Reactions are currently unavailable
