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

apt update fails when using an IAM role #13

Open
pgporada opened this issue Aug 4, 2022 · 1 comment
Open

apt update fails when using an IAM role #13

pgporada opened this issue Aug 4, 2022 · 1 comment

Comments

@pgporada
Copy link
Contributor

pgporada commented Aug 4, 2022

I have an IAM policy/role allowing all list and get operations for a specified bucket attached to my test Ubuntu 20.04 EC2 instance. When running apt update I get the following output:

# apt update
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Ign:5 s3://test-apt-repo666.s3-us-west-2.amazonaws.com stable InRelease
Reading package lists... Done      
E: Method s3 has died unexpectedly!
E: Sub-process s3 returned an error code (1)

I have verified that I can list and get objects using aws cli.

@33base
Copy link

33base commented Oct 6, 2023

did you fix this problem ?

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

2 participants