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 Dockerrun.aws.json ?
agreeable-king-2755
03/15/2022, 3:41 PM
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 145936.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 ['992954656374.dkr.ecr.eu-west-2.amazonaws.com/cpr-container-registry-043f64e:xxxxxxx'] failed with error exit status 1. Stderr:invalid reference format
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.