-
Notifications
You must be signed in to change notification settings - Fork 4k
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
CDK 0.32.0 fails to deploy ECR repository: Parameters: [ ... CodeArtifactHash ...] must have values #2638
Comments
I'm getting the same error when trying to upload custom Lambda Layer or run Lambda function.
Error in the output:
Most likely a regression bug. |
Could you guys please ensure that your CLI version is also 0.32.0? |
@eladb you’re probably right. Recently, I’ve started running cdk commands from ./node_modules/ directory because very often I forget to keep global cdk up to date :). I’ll check get I get home. |
EDIT: @eladb I take that back. I'm using |
@robertd you will get this error if not all your CDK modules have the same version. Try to align your package.json file to the same version and nuke & rebuild your node_modules directory. [This is caused by the fact that 0.31.0 and 0.32.0 are major versions] |
@eladb 🤣 I was updating my reply above... Everything is working, it was my |
Glad to hear, and sorry for all the breaking changes. |
No worries (it was more user error than cdk breaking change to be honest) :) |
Describe the bug
After updating dependencies from 0.31.0 to 0.32.0 I got the following error
❌ AppName failed: Error [ValidationError]: Parameters: [AdoptEcrRepositorydbc60defc59544bcaa5c28c95d68f62cCodeArtifactHash8BCBAA49] must have values
New template code after dependency update:
Possibly caused by #2334 ?
To Reproduce
Full code available at https://github.com/markusl/cdk-fargate-docker-starter
Expected behavior
Should probably work as in previous version.
Version:
The text was updated successfully, but these errors were encountered: