aws / aws/aws-cdk

Codepipeline cdk v2: Self mutate before synth step

Open
#32,627 6 comments 3 reactions 0 assignees View on GitHub
@aws-cdk/aws-codepipeline effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Right now, i believe self mutate runs (if we set self Mutation to true in new CodePipeline(...) initialization) after synth step. What if i change commands in synth . And i need pipeline to update before it runs( so it can run the latest synth commands).

### Use Case

What if i change commands in synth . And i need pipeline to update before it runs( so it can run the latest synth commands).

### Proposed Solution

selfMutateFirst? : boolean

### Other Information

_No response_

### Acknowledgements

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

### CDK version used

2

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

Deployed to linux

Contributor guide

Open the contributing guide

Research direction

Start at the CodePipeline(...) initialization and trace how the synth and self-mutation stages are ordered in CDK v2. Compare the current behavior with the proposed selfMutateFirst option, then define and verify the expected ordering and its effect when synth commands change.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
ci-cd, cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.