Skip to content

❗ NOTICE: List stack output change issue.Β #29420

@byF

Description

@byF

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

Metadata

Metadata

Assignees

Labels

@aws-cdk/coreRelated to core CDK functionalitybugThis issue is a bug.cliIssues related to the CDK CLImanagement/trackingIssues that track a subject or multiple issuesp0package/toolsRelated to AWS CDK Tools or CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions