By far the best explanation of this on RU-vid. 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.
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!
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
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 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
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
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