CDK 0.32.0 fails to deploy ECR repository: Parameters: [ ... CodeArtifactHash ...] must have values
See original GitHub issueDescribe 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:
Parameters:
AdoptEcrRepositorydbc60defc59544bcaa5c28c95d68f62cCodeArtifactHash8BCBAA49:
Type: String
Description: Artifact hash for asset
"AppName/AdoptEcrRepositorydbc60defc59544bcaa5c28c95d68f62c/Code"
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:
- OS: Macbook
- Programming Language: Typescript
- CDK Version: 0.32.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
aws-cdk/aws-ecr-assets module - AWS Documentation
This will instruct the toolkit to build a Docker image from my-image , push it to an Amazon ECR repository and wire the...
Read more >aws-cdk.assets-docker 0.32.0 - PyPI
This module allows bundling Docker images as assets. Images are built from a local Docker context directory (with a Dockerfile ), uploaded to...
Read more >@aws-cdk/aws-ecr-assets | Yarn - Package Manager
This module allows bundling Docker images as assets. Images from Dockerfile. Images are built from a local Docker context directory (with a Dockerfile...
Read more >@aws-cdk/aws-ecr-assets - npm
Docker image assets deployed to ECR. Latest version: 1.180.0, last published: 15 days ago. Start using @aws-cdk/aws-ecr-assets in your ...
Read more >How to automate deployment to ECS Fargate when new ...
The following CDK stack written in Python uses the value of the ... Log in to our own ECR repository to push '$(aws...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad to hear, and sorry for all the breaking changes. @markusl, please reopen if this is still an issue
No worries (it was more user error than cdk breaking change to be honest) 😃