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

Upgrade to AWS SDK 3 #80

Open
jaytmiller opened this issue Feb 5, 2024 · 0 comments
Open

Upgrade to AWS SDK 3 #80

jaytmiller opened this issue Feb 5, 2024 · 0 comments

Comments

@jaytmiller
Copy link

First off, thanks for awsudo, it's great stuff and we use it all the time and it makes our lives easier!

I don't consider this issue to be a bug in awsudo but it does seem like an area of growth AWS is pushing forcefully: upgrade AWS SDK apps to v3 or suffer this message whenever you run your app:

(node:89340) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)

Since this output appears every time awsudo runs, it is distracting and breaks some automated use cases which depend on the output from the command awsudo is used to run.

Given that https://a.co/7PzMCcy shows a migration tool, hopefully updating is not too hard or blocked by other concerns. Unfortunately I don't have the Javascript skills to offer a PR personally.

Lastly for other users who'd rather not see this AWS message, there is this fairly simple fix to suppress it:

export AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE=1
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

1 participant