By far the best explanation of this on UA-cam. Thank you for going through each step clearly instead of the others who just provide the example with no explanation.
Great video! Thank you. I would love to see a small example of passing variables from Terraform to the Lambda's Python script... a common use case for automation/modularization.
is it a good idea put the zip file in the same python directory? doesn't that mean that whenever the file is zipped again, the old zip file would be zipped along with the code?
Great explanation, i have been struggling with the iam role creation and attachment . Do you cover trigger in any future videos ex s3 file type uploaded to s3 triggers lambda sending to sqs or insert to db table? This seems as if it would cover so many scenarios.
Hi Rahul, its nicely done video especially for beginners. you mentioned you added code in git and shared a link , but actually it isn't there, could you add it, Thank you
Dude... you don't need a depends_on in your aws_lambda_function resource. You specify the role and that automatically establishes the dependency mapping within Terraform. In addition, the filename argument should not be a literal string. It should data.archive_file.zip_the_python_code.output_path.
Hi, its nicely done video especially for beginners. you mentioned you added code in git and shared a link , but actually it isnt there, could you add it, TQ!
I have a requirement where I need to place the zip file in specified S3 bucket. Where should I place bucket details in tf files? Can you please explain?
Can you make video for doing crud operation of IAM user into Dynamodb using flask framework and deploy that flask app using api gateway, lambda, dynmodb
Why are you using lambda source in Terraform? This is not practical solution, we need to refer actual zip file from source version control systems like Azure, GitHub etc where the actual zip file will be build. Please let us know how to do that.
Here is the git repo link - github.com/rahulwagh/Terraform-Topics/tree/master/aws-lambda Please hit a star button on github repo link if you really liked the content
You should use aws_lambda_function_event_invoke_config here is the link for the reference- registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function_event_invoke_config
By far the best explanation of this on UA-cam. Thank you for going through each step clearly instead of the others who just provide the example with no explanation.
Glad it was helpful!
No, it isn't.
Great video! Thank you. I would love to see a small example of passing variables from Terraform to the Lambda's Python script... a common use case for automation/modularization.
Succinct explanation! Thanks for the collaboration.
Cheers to that
Nice example and explanation!!
Glad it helped!
One of the best explaination.
You are welcome
Please also create a video on creating the EKS cluster along with its IAM roles and vertical scaling on the cluster using the terraform.Please!!!
Surely I will add it to my list
best tutorial! thanks
Best explanation. Thanks
You are welcome!
is it a good idea put the zip file in the same python directory?
doesn't that mean that whenever the file is zipped again, the old zip file would be zipped along with the code?
I thought the same, you should put it in another directory or have a way to ignore-match-name. I'm new to terraform so I don't know the way
Superb explanation possibly cover real-time
Noted
Really Liked it
Very good
Thanks
Great explanation, i have been struggling with the iam role creation and attachment . Do you cover trigger in any future videos ex s3 file type uploaded to s3 triggers lambda sending to sqs or insert to db table? This seems as if it would cover so many scenarios.
Great suggestion! But not covered yet
Excellent explanation. Thank you so much for your effort.
You are welcome
Thank you very much, it helped in resolving my error while giving handler
Glad it helped you
Great video, Thanks!
Glad you liked it!
Very good explanation for beginners. Thank you :)
You're very welcome!
Hi Rahul, its nicely done video especially for beginners. you mentioned you added code in git and shared a link , but actually it isn't there, could you add it, Thank you
very useful session. Thank You :)
Glad it was helpful!
Dude... you don't need a depends_on in your aws_lambda_function resource. You specify the role and that automatically establishes the dependency mapping within Terraform. In addition, the filename argument should not be a literal string. It should data.archive_file.zip_the_python_code.output_path.
Thanks for noticing
Hi Rahul can we automate the testing process as well
Yes offcourse it is possible to automate the testing process
You are a genius !
You are welcome
Hi, its nicely done video especially for beginners. you mentioned you added code in git and shared a link , but actually it isnt there, could you add it, TQ!
Hey thanks for noticing I will share GitHub repo soon
Is it possible to locally debug the lambda function before deploying? (Same way we can do it with AWS SAM)
I have a requirement where I need to place the zip file in specified S3 bucket. Where should I place bucket details in tf files? Can you please explain?
Great video and thank you, then how we can create alarms based on lambda monitoring how we can do using terraform?
please help me here?
Nice work Bro!! Thanks for making it so simple.
Glad it helped
I already have a role created for Lambda function in IAM console. How to use that role directly?
Cool but how do you create a trigger for that Lambda?
You can create a trigger it is upto you how you wanna implement it
really useful and well explained. Have you any advice or pointers on how to include non-default libraries in the zip file? thanks again
I have a one question how to create blue green deployment using lambda function with ansible scripts
can i just execite just lambda in terraform with actually creating it?
Thank you.
Welcome
still working!
Pretty easy to add layers and the policy to write files to s3!
Thanks very much for sharing it.
Can you make video for doing crud operation of IAM user into Dynamodb using flask framework and deploy that flask app using api gateway, lambda, dynmodb
Its great 😃👍
Thank you! Cheers!
Why are you using lambda source in Terraform? This is not practical solution, we need to refer actual zip file from source version control systems like Azure, GitHub etc where the actual zip file will be build. Please let us know how to do that.
You can clone the source code and zip it
how to search path of /.aws/credential file?
1. in our personal windows laptop
2. in our aws ec2 machine with amazonlinux2 os
can i get the code repo git link
Here is the git repo link - github.com/rahulwagh/Terraform-Topics/tree/master/aws-lambda
Please hit a star button on github repo link if you really liked the content
thank you
Welcome
@@RahulWagh Do you have a tutorial for terraform to spin up an ECS fargate?
How to add lambda test events in terraform?
You should use aws_lambda_function_event_invoke_config here is the link for the reference- registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function_event_invoke_config
Great video rahul. Could you please paste the link to the github repo. I can't see it on the comment section. thank you
Here it is - github.com/rahulwagh/Terraform-Topics/tree/master/aws-lambda
❤
sir is there any way we can upload only zip file to lambda , please anyone help me
Yes you can upload the zip
❤❤❤❤❤❤
Cheers!
Repo link?
❤
You are welcome
Good evening Rahul
Hey prashant
can i get source code of this
Here is the code repo for this - github.com/rahulwagh/Terraform-Topics/tree/master/aws-lambda
Could you please paste the link to the github repo
Here it is - github.com/rahulwagh/Terraform-Topics/tree/master/aws-lambda