sparse-intern-71089
03/05/2022, 11:56 AMechoing-dinner-19531
03/05/2022, 12:07 PM@pulumi/docker
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-98268
03/05/2022, 12:17 PMadorable-gpu-98268
03/05/2022, 12:30 PMadorable-gpu-98268
03/05/2022, 12:31 PMadorable-gpu-98268
03/05/2022, 12:32 PMadorable-gpu-98268
03/05/2022, 12:35 PMpulumi up
to setup the ECR repositories
2. build the function images & push to the repos
3. call the second pulumi up
to setup and wire the lambda functionsadorable-gpu-98268
03/05/2022, 12:49 PMechoing-dinner-19531
03/05/2022, 1:59 PMadorable-gpu-98268
03/05/2022, 2:49 PMechoing-dinner-19531
03/05/2022, 7:28 PMThe 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.