🔴 How to deploy AWS Lambda Function using Terraform - AWS Beginner Tutorial Series

preview_player
Показать описание
#AWSLambda #TerraformLambda #AWSTerraform
Terraform Lab Series

Create IAM Role Policy
Create Assume Policy
Write lambda function terraform
Zip file
Рекомендации по теме
Комментарии
Автор

I am getting this error: in resource "aws_iam_role_policy" "test_policy":
│ 11: role = aws_iam_role.test_role.id

│ A managed resource "aws_iam_role" "test_role" has not been declared in the
│ root module.

tojayanth
Автор

thanks for sharing, and I have additional comment, when We create provider file, We should include the option "profile" below region, and if You use visual studio code, to put the profile name created for AWS, thanks again and for me was a great course for beginner

daqa
Автор

great job man, .. I always learn every time I watch your videos, my question is, what if you want to invoke the lambda function from the terminal.

richardfalegan
Автор

Great tutorial . I had one question though . How do i come to know in which aws account the lambda function is going to be deployed ? in the provider part you just mentioned the region but not the access and secret key . So how it is going to determine the account ?
Sorry for my ignorance .

raghavrocks
join shbcf.ru