dataform icon indicating copy to clipboard operation
dataform copied to clipboard

Dataform CLI outputs an AWS SDK message

Open wintermi opened this issue 2 years ago • 2 comments

The following is output when executing the Dataform CLI:

(node:25544) NOTE: The AWS SDK for JavaScript (v2) will be put 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)

wintermi avatar Feb 15 '23 10:02 wintermi

A workaround for now is to set the Node environment variable: NODE_NO_WARNINGS=1

Ekrekr avatar Feb 15 '23 14:02 Ekrekr

AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE=1 also works, but only for the AWS message.

https://github.com/aws/aws-sdk-js/blob/39e7e8a2b96374ec8e9573c8aaf96267d85d5175/lib/maintenance_mode_message.js#L31

karszawa avatar Sep 02 '23 12:09 karszawa