Update `aws-sdk` dependencies from v2 -> v3
Hey 👋
With recent releases of the aws-sdk, we now get a deprecation notice that we're using a version of aws-sdk that is in maintenance mode only. Let's get ahead of this and update the aws-sdk dependency that we're using in our deps!
There's 4 plugins and packages that need updating:
https://github.com/backstage/backstage/blob/5cc61c8577b5293c449a0c09bac3b0bcea1b4f48/packages/backend-common/package.json#L58
https://github.com/backstage/backstage/blob/359ded7d3be95361d65b45e7eeb2e131ad8710cf/plugins/catalog-backend-module-aws/package.json#L48
https://github.com/backstage/backstage/blob/5cc61c8577b5293c449a0c09bac3b0bcea1b4f48/plugins/kubernetes-backend/package.json#L50
https://github.com/backstage/backstage/blob/5cc61c8577b5293c449a0c09bac3b0bcea1b4f48/plugins/search-backend-module-elasticsearch/package.json#L32
There could be a codemod which is nice to help: https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html
I can work on it this weekend.
@lucasguariscobr Sorry I missed this message. Did you have time to look at it? Otherwise, would you like to be assigned?
Hey @freben, I'm working on the changes to "packages/backend-common". I was thinking of pushing the changes to this first package and then moving forward with the other changes. Is that OK?
Can it be done piece by piece safely (as in, people having both dependencies in place at the same time)? If so, then yeah
Created a PR: https://github.com/backstage/backstage/pull/16652
Created a PR for the kubernetes plugin https://github.com/backstage/backstage/pull/17084
Created a PR for elasticsearch backend #17619
Also #17678
Is there anything left with this story? I think it's done?
@aochsner it's indeed done! 🎉
Big thank you to everyone that chipped in on this! ❤️