You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice taskImageOptions.image. This way, image is created and pushed into CDK assets ECR. Unfortunately, this has several drawbacks:
it's not possible to tag images nicely
every CDK deployment to same AWS account / region pushes image to the very same repository
Mainly second reason makes me wonder how I can actually create specific image repository per project, so images are separated. I already spent several hours reading documentation and experimenting with code, but without any success. iirc, this was possible with CDK 1.0, but can't figure it out with current CDK version.
What am I overlooking? Could anyone point me to comprehensive guide covering my use case? (each project - deploy/stack has own ECR, possibility to tag images as I want, e.g. with commit hash from git, build version etc.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are hosting our .NET application using AWS Fargate. We build application and build image, and do all setup to deploy it into the cloud.
The main service definition looks like this:
Notice
taskImageOptions.image
. This way, image is created and pushed into CDK assets ECR. Unfortunately, this has several drawbacks:Mainly second reason makes me wonder how I can actually create specific image repository per project, so images are separated. I already spent several hours reading documentation and experimenting with code, but without any success. iirc, this was possible with CDK 1.0, but can't figure it out with current CDK version.
What am I overlooking? Could anyone point me to comprehensive guide covering my use case? (each project - deploy/stack has own ECR, possibility to tag images as I want, e.g. with commit hash from git, build version etc.)
Beta Was this translation helpful? Give feedback.
All reactions