Checkboxes for prior research
Describe the bug
AWS_ENDPOINT_URL is no longer picked up automatically from the env.
After some digging I pinpointed this to @smithy/middleware-endpoint@4.1.14.
Regression Issue
SDK version number
@aws-sdk/client-dynamodb@3.844.0, @aws-sdk/lib-dynamodb@3.844.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.13.1
Reproduction Steps
Set AWS_ENDPOINT_URL to any custom value and try using DynamoDBClient:
const client = new DynamoDBClient();
Observed Behavior
Requests are sent to the default endpoint
Expected Behavior
AWS_ENDPOINT_URL should be respected
Possible Solution
Either pass it to DynamoDBClient explicitly:
const client = new DynamoDBClient({ endpoint: process.env.AWS_ENDPOINT_URL }); // this still works
or use older @smithy/middleware-endpoint version:
"overrides": {
"@smithy/middleware-endpoint": "4.1.13"
}
Additional Information/Context
I already opened an issue in smithy-typescript repo, but I decided to open one here as well since it affects the sdk.
Original issue: smithy-lang/smithy-typescript#1645
Checkboxes for prior research
Describe the bug
AWS_ENDPOINT_URLis no longer picked up automatically from the env.After some digging I pinpointed this to
@smithy/middleware-endpoint@4.1.14.Regression Issue
SDK version number
@aws-sdk/client-dynamodb@3.844.0, @aws-sdk/lib-dynamodb@3.844.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.13.1
Reproduction Steps
Set
AWS_ENDPOINT_URLto any custom value and try usingDynamoDBClient:Observed Behavior
Requests are sent to the default endpoint
Expected Behavior
AWS_ENDPOINT_URLshould be respectedPossible Solution
Either pass it to
DynamoDBClientexplicitly:or use older
@smithy/middleware-endpointversion:Additional Information/Context
I already opened an issue in smithy-typescript repo, but I decided to open one here as well since it affects the sdk.
Original issue: smithy-lang/smithy-typescript#1645