This looks similar to an error we started seeing on Friday, in a repo that was previously deploying OK.
We are also pushing docker images to ECR but we are using python and deploying via a BitBucket pipeline.
Friday coincided with the release of pulumi_docker-3.2.0
We were able to work around this error by pinning our import of pulumi_docker to version 3.1.0.
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.