aws / elastic-beanstalk-roadmap

AWS Elastic Beanstalk roadmap
https://aws.amazon.com/elasticbeanstalk/
Creative Commons Attribution Share Alike 4.0 International
283 stars 11 forks source link

AL2023: Permissions not granted vs AL2 #297

Open ChrisEdson opened 1 year ago

ChrisEdson commented 1 year ago

When using Amazon Linux 2023, I'm unable to access AWS S3 via the NodeJS AWS SDK.

On Amazon Linux 2, using an identical Service Role and Instance Profile, I'm able to use the AWS SDK completely fine.

Using those same roles on Amazon Linux 2023 - I'm getting Missing credentials in config / Could not load credentials from any provider error.

Manually adding in AWS credentials as environment variables works - but I'm confused as to why the Service Role & Instance Profile are working differently on Amazon Linux 2023?

BenHand commented 4 months ago

@ChrisEdson Were you able to figure this out or did you stick with the environment variables? I am currently attempting to switch to AL2023 from AL2 and running into a similar situation.