You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario:
Running Benthos on EKS in eu-central-1 region, inside a private subnet, which only has access to VPC endpoints.
AWS credentials are provided via Service Account Role.
Endpoints are always regional endpoints. There is no chance to access global endpoints. (No NAT Gateways).
Issue:
Benthos needs to call STS in its own region eu-central-1, but the bucket itself lives in eu-west-1. This results in various errors like level=error msg="Failed to send message to aws_s3: RequestCanceled: request context canceled\ncaused by: context deadline exceeded"
If the bucket exists in the same region, there is no issue and the output works as expected.
Possible solution:
Optionally configure a separate endpoint for STS (would be in sts.eu-central-1.amazonaws.com in this case) and set the region explicitely for the bucket.
EDIT:
I haven`t checked yet, but I assume, this will be the same behaviour for all AWS endpoints, so the solution probably needs to tackle this within the aws credentials context (https://www.benthos.dev/docs/guides/cloud/aws).
The text was updated successfully, but these errors were encountered:
Scenario:
Running Benthos on EKS in
eu-central-1
region, inside a private subnet, which only has access to VPC endpoints.AWS credentials are provided via Service Account Role.
Endpoints are always regional endpoints. There is no chance to access global endpoints. (No NAT Gateways).
Benthos Config snippet:
Issue:
Benthos needs to call STS in its own region
eu-central-1
, but the bucket itself lives ineu-west-1
. This results in various errors likelevel=error msg="Failed to send message to aws_s3: RequestCanceled: request context canceled\ncaused by: context deadline exceeded"
If the bucket exists in the same region, there is no issue and the output works as expected.
Possible solution:
Optionally configure a separate endpoint for STS (would be in
sts.eu-central-1.amazonaws.com
in this case) and set the region explicitely for the bucket.EDIT:
I haven`t checked yet, but I assume, this will be the same behaviour for all AWS endpoints, so the solution probably needs to tackle this within the aws credentials context (https://www.benthos.dev/docs/guides/cloud/aws).
The text was updated successfully, but these errors were encountered: