-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.cliIssues related to the CDK CLIIssues related to the CDK CLImanagement/trackingIssues that track a subject or multiple issuesIssues that track a subject or multiple issuesp0package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
Please add your +1 π to let us know you have encountered this
Status: RESOLVED
Overview
The latest release has changed the output of the list command, removing the path hierarchy.
Expected Behavior
Until now, the output of the cdk list was:
dev-us-east-1/primary/primary-stack
test-us-east-1/primary/primary-stack
prod-us-east-1/primary/primary-stack
Current Behavior
In 2.132.0, the output of the cdk list produces:
devuseast1primaryprimarystackAAF42913
testuseast1primaryprimarystack64CA4E80
produseast1primaryprimarystack6EE57081
Reproduction Steps
Run cdk list with 2.131.0 and 2.132.0 and compare the results
Workaround
This is not a bug but, the existing functionality was altered and an edge case has been missed. Workaround to get the expected behavior would be to downgrade to 2.131.0 version of aws-cdk.
Possible Solution
Adding a check to fetch the displayName and if not available then fetch the id.
#29447
Additional Information/Context
No response
CDK CLI Version
2.132.0
Framework Version
No response
Node.js Version
20
OS
macOS 14.4, Ubuntu 22
Language
TypeScript
Language Version
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.cliIssues related to the CDK CLIIssues related to the CDK CLImanagement/trackingIssues that track a subject or multiple issuesIssues that track a subject or multiple issuesp0package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI