Hi folks, I'm trying out deploying CDK constructs...
# aws
c
Hi folks, I'm trying out deploying CDK constructs with Pulumi and am running into compatibility errors
Copy code
Diagnostics:
  pulumi:pulumi:Stack (pulumi-cdk-dev):
    error: Running program 'code/pulumi-cdk/index.ts' failed with an unhandled exception:
    <ref *1> Error: This CDK CLI is not compatible with the CDK library used by your application. Please upgrade the CLI to the latest version.
    (Cloud assembly schema version mismatch: Maximum schema version supported is 38.x.x, but found 39.0.0)
I ended being able to successfully build and deploy the Fargate example in the Pulumi CDK repo. Is there a compatibility matrix of sorts I need to keep an eye on? The only obvious difference I can see is the aws-cdk-lib version being ~20 minor versions behind in the examples repo.
n
I have a PR out now that should fix that https://github.com/pulumi/pulumi-cdk/pull/345
c
Sounds like I picked a very inconvenient time to try this out 🙂