[EKS/Fargate][Bug] throwing "No RegionEndpoint or ServiceURL configured"
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
I have .Net core application image residing in ECR. I am getting SSM values using AmazonSimpleSystemsManagementClient and I am using default constructor to initialize client like
``
using (Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient client =
new Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient())
...
(other code)
``
When I deploy the application on **nodes** with EKS, it works correctly and I see no issues. But I tried to deploy same on Fargate profile and pod returned me error -
> Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured\n at Amazon.Runtime.ClientConfig.Validate()\n at Amazon.Runtime.AmazonServiceClient..ctor(AWSCredentials credentials, ClientConfig config)\n at Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient..ctor()
The role associated with fargate profile has policy attached for AmazonSSMReadOnlyAccess.
Contributor guide
Research direction
Start by reproducing the .NET application on EKS nodes and an EKS Fargate profile using AmazonSimpleSystemsManagementClient's default constructor. Compare the region configuration available to each pod and review the reported AmazonClientException. Done means the Fargate behavior has a confirmed cause and an agreed roadmap resolution or documentation update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, csharp, kubernetes
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100