AL2023: Permissions not granted vs AL2
ChrisEdson opened this issue · 1 comments
ChrisEdson commented
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
@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.