Does everyone get warnings about upgrading the AWS...
# aws
l
Does everyone get warnings about upgrading the AWS SDK to v3? Or am I importing something incorrectly?
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
m
Yeah, I get it too, but I'm on v 5 of
@pulumi/aws
still.
Copy code
npm i @pulumi/aws@5.30.0
npm list --depth 1 --json |jq '.dependencies["@pulumi/aws"] | .dependencies["aws-sdk"]'
{
  "version": "2.1374.0"
}
v6 has breaking changes for my stacks that I'll need to coordinate. Not sure if it solves it, but the older aws-sdk package doesn't appear to be there when I install it.
Copy code
rm -rf node_modules
npm i @pulumi/aws@latest
npm list --depth 1 --json |jq '.dependencies["@pulumi/aws"]' |grep aws
  "resolved": "<https://registry.npmjs.org/@pulumi/aws/-/aws-6.6.0.tgz>",