(@aws-cdk/aws-codecommit): Include CodeCommit Repo initialization via S3 in L2 construct #17967
Closed
1 of 2 tasks
Labels
@aws-cdk/aws-codecommit
Related to AWS CodeCommit
effort/medium
Medium work item – several days of effort
feature/coverage-gap
Gaps in CloudFormation coverage by L2 constructs
feature-request
A feature should be added or improved.
in-progress
This issue is being actively worked on.
p2
Description
At the moment it is only possible to initialize a codecommit repo via the underlying
CfnRepository
and by orchestrating the asset deployment on one's own.Implementing it on one's own leads to bugs, such as #16958.
The heavy lifting of this action should be done by the L2 Repository construct instead.
Use Case
This feature would be neat to provide a "self-unpacking" stack with cdk-pipelines on the first deploy.
At the moment the flow of CDK pipelines requires me to init a code source (like Codecommit) first (or push content via git to it once created via CDK) and keep it in sync with my local version while deploying first time, as otherwise my pipeline would inevitably fail.
It might also be great for a variety of other usecases, such as rolling out a baseline of code into diverse repos to allow teams to utilize proven foundations.
Proposed Solution
Extend the
Repository
construct to take an asset as construct parameter, deploy it via CDK assets and setup permissions etc.Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: