aws / aws/aws-cdk-cli

Improve cdk diff Performance with Parallel Change Set Creation

Open
#1,946 1 comment 2 reactions 0 assignees View on GitHub
aws-cdk effort/medium feature-request p2
Dominant language
TypeScript
Stars
105
Forks
122
Avg merge
1d 17h
Merged PRs (30d)
71

Description

### Describe the feature

cdk diff does not provide an option to configure parallelism for creating change sets. Unlike cdk deploy, which supports the --concurrency option, change-set creation during cdk diff cannot be configured to run in parallel. As a result, repositories with more than 100 stacks can take a significant amount of time to generate the change sets, impacting the overall cdk diff execution time.

### Use Case

If we have 100+ stacks in the repository, cdk diff take significant amount of time to generate the change sets

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### AWS CDK Library version (aws-cdk-lib)

2.263.0

### AWS CDK CLI version

2.1135.0

### Environment details (OS name and version, etc.)

macOS 26.6.2

Contributor guide

Open the contributing guide

Research direction

Start by locating the cdk diff change-set creation flow and the existing cdk deploy --concurrency handling. Determine how a configurable parallelism option should apply to diff, then verify that large repositories can create change sets in parallel without changing existing behavior and that relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cli, cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.