Open lennertcc opened 4 months ago
Hi! Thanks! I was looking for this exactly. But, just to be clear, after selecting cdk
in the override menu, the resource I need to select to override is Pipeline
, right? I also have the option to override PipelineRole
and PipelineRolePolicy
but it seems to me the right option is the first one
Describe your idea/feature/enhancement
Add support for CodePipeline V2: V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Proposal
The Copilot manifest could have a new parameter where we can specify which pipeline version to deploy, defaulting to V1 to maintain compatibility
Workaround
Add a CDK override to the pipeline:
copilot pipeline override
cdk
stack.ts
to this:import { CfnPipeline } from 'aws-cdk-lib/aws-codepipeline';
interface TransformedStackProps extends cdk.StackProps { readonly appName: string; }
export class TransformedStack extends cdk.Stack { public readonly template: cdk.cloudformation_include.CfnInclude; public readonly appName: string;
}