Skip to content

AWS CodePipeline V2 Support #28694

@angel3cu

Description

@angel3cu

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions