https://pulumi.com logo
Title
r

rapid-eve-24229

11/17/2022, 2:17 AM
Hello All, I am trying to deploy my stack, and I keep getting this message pulumi_docker.docker.ResourceError: 'docker login' failed with exit code 1
pulumi==3.46.1
pulumi-aws==5.21.0
pulumi-docker==3.1.0
python-dotenv==0.21.0
What can I do to deploy the stack? Thanks
l

little-cartoon-10569

11/17/2022, 2:21 AM
You need to make docker login work. Login manually first?
r

rapid-eve-24229

11/17/2022, 2:22 AM
ok, this was deploying for some time successfully until today.
I have never logged in to a docker, it is deploying to fargate on aws
l

little-cartoon-10569

11/17/2022, 2:46 AM
You need to log into ECR then. Have you changed your AWS creds?
If your AWS creds profile or env vars don't have permission to push to ECR, then you'll get that message. Or if you've changed your default docker registry
r

rapid-eve-24229

11/17/2022, 3:09 AM
I haven't changed anything. I was pushing code this morning under the same configuration
ok, update, not sure if this fixed the problem. I deleted pulumi and then reinstalled.
and now it is working again
thanks for your input