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

Docker-Image type cannot fetch images from ECR in new version 1.9.0. #374

Open
MarosBenadik opened this issue Dec 13, 2024 · 1 comment
Open
Labels

Comments

@MarosBenadik
Copy link

MarosBenadik commented Dec 13, 2024

Describe the bug

After migration to Concourse 7.12.0 we were unable to fetch images from ECR with the type of the resource docker-resource. Registry-image type worked same as in version 7.11.2.

image

It seems like the update to aws-sdk-go-v2 (ba8c089) in version 1.9.0 messed up the ECR implementation as we started to face issue with getting images from ECR repository. This was not a case in version 1.8.1

We provide aws_access_key_id, aws_secret_access_key but not aws_session_token. This was functioning in lower version Hovewer it seems like new version might require also aws_session_token.

Reproduction steps

  1. Migration to new version of concourse 7.12.0 with the latest docker-image resource (1.9.0)
  2. ECR Implementation for docker images
  3. Run any pipeline with this resource type
    ...

Expected behavior

To be able to pull images from ECR without providing session token.

Additional context

No response

@cheeseprocedure
Copy link

cheeseprocedure commented Dec 16, 2024

I think this is the same issue I reported in #372. A fix is in master but a new image release has not yet been published. (We've pinned to image version 1.8.1 in the meantime.)

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

No branches or pull requests

2 participants