-
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
(aws_ecs: ContainerImage): why repository_name parameter is depricated? #16703
Comments
Here's the PR which deprecated The PR doesn't specifically say why this was deprecated, however the comments left an alternative for the user: aws-cdk/packages/@aws-cdk/aws-ecr-assets/lib/image-asset.ts Lines 19 to 31 in 65761fe
|
The comment in that PR leads into this rabbit hole I.e. I would have to implement the entire extension instead. Why this has to be so complicated? |
@eladb can you provide your input here? Thanks |
Basically the recommended solution is to use https://github.com/wchaws/cdk-ecr-deployment if you wish to deploy docker images. |
|
that doesn't work if the image needs to be referred to in a lambda deployment, since the image isn't available at the time yet I think |
I noticed in document that there is this parameter for
repository_name (Optional[str]) – (deprecated) ECR repository name.
It would be something useful in my case since I can use that to have a stable reference to my image instead of the random hash cdk generates. This would help me clean up the ECR from all those obsolete images.The question is why it is now
deprecated
?The text was updated successfully, but these errors were encountered: