-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_cdk.pipelines: Type V2 CodePipelines not supported in this construct #32657
Comments
Hi @emir-demirovic , thanks for reaching out. I see that this ![]() I assume your ask is the same, so not really sure if team is going to implement that as its clearly stated in the docs. However if your ask is different , please feel free to reach back. |
Hi @khushail, the issue with the |
@emir-demirovic , I assume you are talking about this property - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.Pipeline.html#pipelinetype
https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html and your suggestion of property addition would take place here - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.CodePipeline.html Marking it as P2 as it won't be immediately addressed by the team but would be on their radar. It would also be open for community contribution. However I would like to request team's input here as its something they would consider accepting request on or would like to share their insights on this feature's implementation. |
Would love support for codepipelinev2 from this construct. |
@khushail Our team has many pipelines implemented using the Adding support for specifying I also came across #28694 (comment) in another issue, which suggests that it’s possible to use a |
@salimhamed Hi, I've tried that approach, however, for some reason after referencing the newly created pipeline, it tries to re-create it, then the CloudFormation throws out a resource naming conflict (since it tries to create a pipeline with the same name). |
This is an opinionated library but AWS themselves have stated V2 pipelines are now the default in the console. For CDK Pipelines to have no V2 pipeline support is directly in contradiction to the official stance of AWS as an organization. This should be added quickly IMO. |
Describe the feature
A support for V2 type for CodePipeline using the
aws_cdk.pipelines
construct.Use Case
Since
aws_cdk.pipelines
supports self-mutation (unlike theaws_cdk.aws_codepipeline
, which supports V2 type, but doesn't support the self-mutation feature) and since the V2 type is more cost efficient for our use case with multiple CodePipelines in 1 AWS account, this would help us (and possibly others) a lot.Proposed Solution
Example usage:
Other Information
No response
Acknowledgements
CDK version used
2.173.2
Environment details (OS name and version, etc.)
Linux Mint 21 Cinnamon
The text was updated successfully, but these errors were encountered: