Is it not possible to reference an existing ECR re...
# general
l
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
I was looking for that too, thanks
l
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