Update to CDK v1?
jewelsjacobs opened this issue · 1 comments
jewelsjacobs commented
I'm getting the ts error: Argument of type 'this' is not assignable to parameter of type 'Construct'. Type 'PipelineStack' is missing the following properties from type 'Construct': dependencyRoots, apply
const pipeline = new delivlib.Pipeline(this, 'MyPipeline', {
repo: githubRepo,
branch: 'jjacobs/KH-343/feature'
})
regardless of what scope I apply. I've also tried copying the example from https://github.com/awslabs/aws-delivlib/blob/master/test/test-stack.ts but am getting the same error.
My versions of aws-cdk:
"aws-cdk": "^1.1.0"
"@aws-cdk/core": "^1.1.0"
Version of aws-devlib:
"aws-delivlib": "^3.9.5"
Thanks!
jewelsjacobs commented
Looks like this is already being worked on. Apologies, I should have checked the PRs.