Can I use Pulumi to just build and deploy a docker...
# general
f
Can I use Pulumi to just build and deploy a docker image to ECR - no service attached?
w
Yep. You can allocate ECR repository and then use
new docker.Image
. I think there may be (or coming soon) a helper for making that combination even easier in
awsx
.
Cc @lemon-spoon-91807
l
Yeah. That works. The annoyance right now is getting the ecr password to pass to
new docker.Image
. you can copy the code we use to do that ourselves. but we really need to expose it as a helper
let me find a sample
f
Ok cool. Thanks!
l
yup yup!
f
How would I pass an existing ECR image to an
awsx.ecs.FargateService
?
Just pass the image URI as a string?
l
as an output<string>, yup