Skip to content
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

Error publishing to aws ECR #185

Open
IDispose opened this issue Aug 16, 2024 · 0 comments
Open

Error publishing to aws ECR #185

IDispose opened this issue Aug 16, 2024 · 0 comments

Comments

@IDispose
Copy link

Trying to use the provider and followed the steps outlines in the ecs sample. However getting this error when I perform terraform apply

Error: [id=] create doPublish: publish: HEAD https://<ACCOUNT_ID>.dkr.ecr.<REGION>.amazonaws.com/v2/my_repository/blobs/sha256:<SHA>: unexpected status code 403 Forbidden (HEAD responses have no body, use GET for details)

NOTE: replaced sensitive info with <>

The actual URL displayed in AWS for the ECR is <ACCOUNT_ID>.dkr.ecr.<REGION>.amazonaws.com/my_repository/blobs/

Is ko adding the extra v2 and causing the permissions issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant