Skip to content

(cli): cdk ls should work even when cdk deploy is in progress #32477

Open
@moltar

Description

@moltar

Describe the feature

I think cdk ls should work, even when there's already a deployment in progress.

Use Case

It's pretty typical to work across tabs and sometimes I want to ls while another process is already busy doing a deploy.

Proposed Solution

When running ls change --output value to some /tmp/* dir.

Other Information

Get an error when doing an ls while deploy is running:

Other CLIs (PID=81799) are currently reading from cdk.out. Invoke the CLI in sequence, or use '--output' to synth into different directories.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.171.0

Environment details (OS name and version, etc.)

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/coreRelated to core CDK functionalityfeature-requestA feature should be added or improved.p3package/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