https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

02/04/2019, 11:45 PM
Can I use Pulumi to just build and deploy a docker image to ECR - no service attached?
w

white-balloon-205

02/04/2019, 11:50 PM
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

lemon-spoon-91807

02/04/2019, 11:51 PM
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

full-dress-10026

02/04/2019, 11:54 PM
Ok cool. Thanks!
l

lemon-spoon-91807

02/04/2019, 11:58 PM
yup yup!
f

full-dress-10026

02/05/2019, 2:41 AM
How would I pass an existing ECR image to an
awsx.ecs.FargateService
?
Just pass the image URI as a string?
l

lemon-spoon-91807

02/05/2019, 2:45 AM
as an output<string>, yup