Skip to content

Create an AWS Lambda Function and deploy a sample code using Terraform

Notifications You must be signed in to change notification settings

coderainforever/aws-lambda-terraform-deploy

Repository files navigation

aws-lambda-terraform-deploy

Create an AWS Lambda Function and deploy a sample code using Terraform

Prerequisites

Task Details

  • Sign into AWS Management Console.
  • Setup Visual Studio Code
  • Create a variables file
  • Create source and destination S3 buckets in the main.tf file
  • Create an IAM role and policy for the Lambda function in the main.tf file
  • Create a lambda function in the main.tf file
  • Create a lambda trigger for S3 in main.tf file
  • Create an output file
  • Confirm the installation of Terraform by checking the version
  • Apply terraform configurations
  • Check the resources in AWS Console
  • Delete AWS Resources

About

Create an AWS Lambda Function and deploy a sample code using Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages