-
Notifications
You must be signed in to change notification settings - Fork 4.5k
AWS CodePipeline V2 Support #28694
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-codepipelineRelated to AWS CodePipelineRelated to AWS CodePipelineeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1
Description
Describe the feature
The L2 construct Pipeline from namespace aws_codepipeline does not support the new V2 pipelines. This is crucial for running more advanced workflows that involve variables or get triggered on tags instead of pushing to a branch.
Use Case
We want to run the pipelines when a tag is created instead of when a commit is pushed to a branch. Pipeline V2 is the only option.
We could use the L1 construct that is already provided, but this would:
- Require a complete rewrite of our pipeline definition.
- Make our code much more complicated and difficult to maintain.
Proposed Solution
Add support for V2 pipelines in the existing Pipeline construct. Ensure that there is an option to trigger the pipeline on a tag, as supported in the AWS UI and CloudFormation.
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.114.1
Environment details (OS name and version, etc.)
macOS (the CDK Code runs on AWS CodePipeline)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-codepipelineRelated to AWS CodePipelineRelated to AWS CodePipelineeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1