Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aws sdk V2 in maintenance mode, upgrade for v3 #729

Open
colas-gosselin-wmx opened this issue Feb 14, 2023 · 3 comments
Open

Aws sdk V2 in maintenance mode, upgrade for v3 #729

colas-gosselin-wmx opened this issue Feb 14, 2023 · 3 comments

Comments

@colas-gosselin-wmx
Copy link

colas-gosselin-wmx commented Feb 14, 2023

I'm submitting a...


[x ] Feature request

Feature request

The sdk still use aws-sdk v2, which is put to maintenance mode in 2023.
It should be great to upgrade it to aws-sdk v3.

@colas-gosselin-wmx colas-gosselin-wmx changed the title Aws sdk V2 in maintenance mode, it must be upgraded Aws sdk V2 in maintenance mode, upgrade for v3 Feb 14, 2023
@allthepies
Copy link

I agree, error messages are now appearing in the lambda cloudwatch logs regarding AWS SDK v2 going into maintenance mode. This is annoying as it is triggering cloudwatch alarms I have setup.

@kristen-kagei
Copy link

This is happening for me, too. I'm in the middle of updating AWS SDK to v3 and am finding that the following happens -

with this set up

const dynamoDBClient = new DynamoDB(dynamoDBClientConfig);

const longTermDataPersistenceAdapter: PersistenceAdapter = new DynamoDbPersistenceAdapter({
    dynamoDBClient,
    tableName: longTermTableName,
    partitionKeyName: 'userId',
});

we then get an error with the dynamoDBClient because the DynamoDbPersistenceAdapter relies on the DynamoDB class from AWS SDK v2.

@talkingnews
Copy link

I agree, error messages are now appearing in the lambda cloudwatch logs regarding AWS SDK v2 going into maintenance mode. This is annoying as it is triggering cloudwatch alarms I have setup.

Crazy isn't it? Over 2 years now... but it looks like there's now a way of disabling these warning from clogging up your logs...

aws/aws-sdk-js#4354

Either use env var AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE=1
or
require('aws-sdk/lib/maintenance_mode_message').suppress = true;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants