How to Fetch and Update S3 Files with AWS Lambda, Serverless Framework, and TypeScript
HTML-код
- Опубликовано: 4 авг 2021
- In this video tutorial you are going to learn:
- how to create an S3 bucket
- how to create multiple TypeScript AWS Lambda functions with access to files in the S3 bucket
- how to deploy the code and infrastructure quickly with Serverless Framework
Useful links:
How to fetch and update S3 files with AWS Lambda, Serverless Framework, and TypeScript (article):
blog.tomasztarnowski.com/how-...
Getting Started with AWS Lambda and Serverless Framework (video):
• Getting started with A...
Getting Started with AWS Lambda and Serverless Framework (article):
blog.tomasztarnowski.com/gett...
You can find the code from the video here:
github.com/ttarnowski/my-s3-l...
Software used in the video:
Visual Studio Code IDE:
code.visualstudio.com/
Thank you for watching and see you soon! Наука
Really very helpful. Love the way you explained everything. Keep going and upload more videos.
Thank you, I will do my best, Manu!
Very helpful!
Really informative.
Thank you, Dhruva. I'm glad it helped you!
This is an awesome tutorial, faced an issue at 32:25, where it says e is of type unknown, To resolve this
update your tsconfig.json file,
{
"compilerOptions": {
"strict": true,
"useUnknownInCatchVariables": false
}
}
Hi Tomas, I really enjoyed this video and your other video where you used DynamoDB instead. I had a problem with this where anytime I try to write to the database, I get an 500 error with Permission Denied for S3 access. How could I fix this?
Hi Aghilan,
Please make sure you have given the correct permissions to the tables, I have explained it here on the video:
for S3 -ruclips.net/video/Bbq3WRtmH0k/видео.html
for DynamoDB - ruclips.net/video/yEJW4V7ddEQ/видео.html
alternatively you can respond with the exact error message you're getting and and I'll send you the correct role statements to paste in your serverless.yml