question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CDK 0.32.0 fails to deploy ECR repository: Parameters: [ ... CodeArtifactHash ...] must have values

See original GitHub issue

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:

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:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
eladbcommented, May 26, 2019

Glad to hear, and sorry for all the breaking changes. @markusl, please reopen if this is still an issue

0reactions
robertdcommented, May 27, 2019

No worries (it was more user error than cdk breaking change to be honest) 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found