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

loud-computer-30956

11/07/2019, 6:35 PM
Is it not possible to reference an existing ECR repo and use an image here as an ECS service task definition? I can only find examples how to build an existing dockerfile or reference one on Docker Hub.
Oh, think I solved it with const dockerImage = aws.ecr.getImage({ repositoryName: 'dei', imageTag: 'latest', })
👍 1
s

swift-painter-31084

11/07/2019, 6:50 PM
I was looking for that too, thanks
l

loud-computer-30956

11/07/2019, 8:53 PM
No probs 🙂 Then you want the imageDigest property on the image object to feed to the ECR service definition (not the ID property, apparently) - if you didnt figure that out already yourself
2 Views