CredentialsProviderError: Could not load credentials from any providers when using VPC Endpoints #6983
Unanswered
Marcus4mation
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've updated a project and have an ECS service, spinning up tasks in a private subnet without a Nat Gateway. I've configured a suite of VPC Endpoints and Gateways, for Secret manager, ECR, SSM, Bedrock and S3 to provide access to the resources.
Before moving the services to VPC endpoints, the service was working fine without any issues, but since, I've been getting the below error whenever trying to use an AWS Resource:
The simplest example code I have:
Investigation and remediation I've tried:
http://169.254.170.2/v2/metadata
I get a 200 response and details from the platform, so I'm reasonably sure I'm getting something."secretsmanager:*"
on all resources.I'm running out of ideas concerning how to resolve the issue, as due to restrictions I need to use the VPC endpoints, but am stuck
Beta Was this translation helpful? Give feedback.
All reactions