When defining a lambda of package_type = Zip, it's possible to create a dummy temp.zip file and set it as the lambda's filename.
When created, the lambda will basically have an empty zip, which can later be replaced by something like a continuous delivery pipeline that pushes an artifact to it.
I've noticed this pattern used at work.
However, I'm playing with lambda container images for something personal.
I set it package_type = Image, and set other required arguments (per the Terraform docs). But when I run terraform apply, I get an error saying the lambda's image_uri argument must be set.
What if I don't have an image built yet? Is there some equivalent technique to satisfy the image_uri requirement, to essentially create an "empty" lambda, which I later plan to update via a CD pipeline?
Been looking around but have not yet found a solution.