Awesome tutorial. For the second lambda, since it's only dependency is the aws-sdk, no need for npm install and so on. aws-sdk is embedded in the aws Lambda runtime.
Awesome video, @antonputra! Do you have an example of a CI/CD serverless pipeline using Terraform? I've seen many different options, but I appreciate how you usually compare the different approaches and their trade-offs.
well i don't have a separate video, but look into creating lambda using docker images instead of zips. i think that strategy integrates very well into your existing CI/CD pipeline
I have a doubt, I made an api on serverless framework, if I use terraform to deploy my api, I only put the folder of my project? it uses nodejs packages.
if you have only serverless functions you better keep using serverless framework, if you are in large company with the rest of infra managed by terraform you may consider it
Hi, when I run the process I get the following error: Error: error archiving directory: error reading file for archival: read ..\hello\terraform.tfstate: The process cannot access the file because another process has locked a portion of the file.
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Nice video. Thank you. This is what I wanted and got it on my first day.
thanks! I'll create full course covering lambda soon.
Awesome tutorial. For the second lambda, since it's only dependency is the aws-sdk, no need for npm install and so on. aws-sdk is embedded in the aws Lambda runtime.
ok, i may have missed it
👉 How to Manage Secrets in Terraform - th-cam.com/video/3N0tGKwvBdA/w-d-xo.html
👉 Terraform Tips & Tricks - th-cam.com/video/7S94oUTy2z4/w-d-xo.html
👉 ArgoCD Tutorial - th-cam.com/video/zGndgdGa1Tc/w-d-xo.html
Thanks for the lesson, it was super helpful!
Glad to hear that!
Thank you !!! Was very helpfull.
Do you have one showing with CI/CD pipeline?
my pleasure, not yet
Awesome video, @antonputra! Do you have an example of a CI/CD serverless pipeline using Terraform? I've seen many different options, but I appreciate how you usually compare the different approaches and their trade-offs.
well i don't have a separate video, but look into creating lambda using docker images instead of zips. i think that strategy integrates very well into your existing CI/CD pipeline
@@AntonPutra I will do it. Thanks 🙏
awesome video
thanks Robert!
Amazing!!!
Thanks!!
@@AntonPutra for sure, your work is amazing thanks for sharing. Please if possible apply some Aws solutions architectures ( serverless). :)
Great video! Wondering if you know how to use a $default route with API gateway?
thanks, it's been a while...
@@AntonPutra actually, I just figured it out haha! Thanks again for the video, got me started
Hi Anton.
Cool video. Thanks.
Could you make a video some day about configuring K8s nodes to work with containers using linux seccomp params?
Sure some day :) it's not very common use case
Thanks. Please, how do I set the lambda to recreate when I make new changes?
Just rerun terraform, if the source has changed it will redeploy lambda
I have a doubt, I made an api on serverless framework, if I use terraform to deploy my api, I only put the folder of my project? it uses nodejs packages.
if you have only serverless functions you better keep using serverless framework, if you are in large company with the rest of infra managed by terraform you may consider it
@@AntonPutra Thank you 🫶🏼
can you share the exact github link for the code in the above video please .thanks
Sure - github.com/antonputra/tutorials/tree/main/lessons/115
Hey mate!
Kudos for the awesome tutorials. Do you have tutorials, where can zip node_modules, package.json for the Lambda function?
Sure, you can find one example in 126 lesson in the repo under terraform.
@@AntonPutra Thanks mate 🥳🥳
This is sbeyti फुल saort बिलकुल सही है
❓
Hi, when I run the process I get the following error: Error: error archiving directory: error reading file for archival: read ..\hello\terraform.tfstate: The process cannot access the file because another process has locked a portion of the file.
looks like you're trying to archive the wrong directory, check the path and try again
Don't we need to define an aws resource object?
Yes we do - github.com/antonputra/tutorials/blob/main/lessons/115/terraform/6-s3-lambda.tf#L47-L59