sparse-intern-71089
02/26/2023, 3:54 AMbillowy-army-68599
awsx.ecr.Image
is designed to build the image locally for you and push it. If the image already exists in the ECR repo and you know the image tag, just specify that in your task definitionpolite-umbrella-11196
02/26/2023, 5:45 PMbillowy-army-68599
awsx.ecr.Image
no, it auto generates an image tag for you.
If you want more control over the image and the process of building/pushing, you likely want to use https://www.pulumi.com/registry/packages/docker/api-docs/image/ which allows you to set a tag in the image name.
It’s worth pointing out though, Pulumi drives towards a desired state, so with this:
Specifically I want to be able to “roll back” to a previous version without going through a build processYou’ll probably want to just modify the task definition and do your docker image builds outside Pulumi
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by