AWS sdk does not seem to work with atlas functions. I tried to use version 2.737.0 as suggested by @Drew_DiPalma in this post: Link.
I’m always getting this error when trying to deploy:
This is what’s in my package.json:
{
"name": "functions",
"version": "1.0.0",
"main": "index.js",
"license": "private",
"engines": {
"node": ">=10.17.0 <=10.18.2"
},
"scripts": {
"test": "jest"
},
"dependencies": {
"stripe": "10.17.0",
"aws-sdk": "2.737.0"
},
"devDependencies": {
"jest": "27"
}
}
I tried so many different versions. This is so very frustrating as I’ve been spending too much time on it. Currently, I’m halfway into implementing my calls using REST API with manual request signing but it’s just so unnecessary since there is a perfectly good sdk to use. With firebase, this is just working like a charm.
Is there any way to use the sdk with atlas functions?