Closed jean-simon-barry1 closed 1 month ago
I am an absolute idiot π address = "${data.aws_caller_identity.current.account_id}.dkr.ca-central-1.amazonaws.com"
was missing .ecr. in the address. Sorry bout that, and thanks for providing this module <3
I'm going to lock this issue because it has been closed for 30 days β³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Hello! When I try to use the
docker-build
module, with slightly modified version of the examples provided in this repo, the image builds but fails to push to ECR withresourceDockerRegistryImageCreate: Unable to get authConfig for registry: no auth config found for registry 123456789.dkr.ecr.us-east-1.amazonaws.com in auth configs: map[string]types.AuthConfig(nil)
(account id redacted).Apologies if this isn't exactly related to this module...but the given example code doesn't work for me. And I can't seem to fix this and it's driving me up the walls!
Versions
Terraform v1.5.0 on darwin_arm64
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
The repo and image to be created
Actual behavior
I get the error
Terminal Output Screenshot(s)