adorable-gpu-9826803/05/2022, 11:56 AM
package can be used to build docker images and then push them to e.g. an
registry or it could pull images from remote registry however I’m wondering: Can I also just push images that I have build locally outside of pulumi? How would I do that? I’d like to have a build that looks like this:
- build my docker images using other tooling - pulumi up
echoing-dinner-1953103/05/2022, 12:07 PM
is using the terraform docker provider (https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs) and it doesn't look like that supports just pushing built images to a registry.
adorable-gpu-9826803/05/2022, 12:17 PM
to setup the ECR repositories 2. build the function images & push to the repos 3. call the second
to setup and wire the lambda functions
echoing-dinner-1953103/05/2022, 1:59 PM
adorable-gpu-9826803/05/2022, 2:49 PM
echoing-dinner-1953103/05/2022, 7:28 PM
The push only works when the ECR repository exists.It should be possible to depend on the ECR repository being created before running the command steps, just add it to the depends_on list.