03/15/2022, 2:27 PM
Hey all, we're building an open climate policy database, and I've stitched together a AWS/Python-based Pulumi config here: However, the last hurdle seems to be Elastic Beanstalk, failing with
Error: failed to pull docker image
I'm not sure where to authenticate the docker pull, so any pointers will be appreciated.
is missing something like this:
"Authentication": {
    "Bucket": "mybucket",
    "Key": "docker_hub_auth.json"
does anyone have an example of how to achieve the above?


03/15/2022, 3:05 PM
Have you tried the ECR credential helper?


03/15/2022, 3:26 PM
I can get the image into ECR, but the issue is Elastic Beanstalk pulling it. Will ECR Credential Helper help with that? I.e. will it be able to render something I can put in the relevant "Authentication" section in ?
hmm, the EB log is not auth-related, but has "invalid reference format". I'll look into that (seems as though the image is in an array, not a string).
2022/03/15 14:59:36.478717 [ERROR] An error occurred during execution of command [app-deploy] - [Docker Specific Build Application]. Stop running the command. Error: failed to pull docker image: Command /bin/sh -c docker pull [''] failed with error exit status 1. Stderr:invalid reference format
👍 1