-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker_registry_image resource not created after successful push #645
Comments
Yes same issue here on ECR: Debug logs:
Images were pushed successfully |
Same issue on ECR. The images were pushed to the repository, but received the message at the end: "Error: Unable to create image, image not found: unable to get digest: Got bad response from registry: 404 Not Found". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Terraform (and docker Provider) Version
I also tried on other versions (starting terraform 1.5.7 and provider 2.25.0)
Affected Resource(s)
docker_registry_image
Terraform Configuration Files
Debug Output
Expected Behaviour
Resource should be created when push succeeds
Actual Behaviour
Resource is not created and Error above is thrown.
In my registry I can see, that the image is present and I can pull it, so it seems no error has occurred.
Steps to Reproduce
terraform apply
Important Factoids
Target is a harbor based registry - push via docker cli works without errors.
I suspect the response is interpreted incorrectly since the error reads
<nil>
Other resources work fine with the same registry. I can pull a docker_image from it without issue.
The text was updated successfully, but these errors were encountered: