/lambda-the-terraform-way

AWS Lambda using Terraform., an Introductory Cookbook

Primary LanguageMarkdownMIT LicenseMIT

AWS Lambda the Terraform Way

The objective of this tutorial is to understand AWS Lambda in-depth, beyond executing functions, using Terraform. This tutorial walks through setting up Terraform, dependencies for AWS Lambda, getting your first Lambda function running, many of its important features & finally integrating with other AWS services.

Terraform

Terraform will be the primary medium of demonstrating all these examples. Terraform is an infrastructure as code software that helps in managing resources in cloud, by various providers like AWS, GCP, Azure etc., Terraform enables creation of infrastructure by writing code in a declarative form.

Target Audience

Target audience for this tutorial series are developers with basic knowledge of Terraform. A little background on understanding of serverless technologies, infrastructure as code will help.

Note : The tutorial will not discuss examples using the AWS website UI (or) with AWS SDK.

Tutorials

  1. Serverless Introduction
  2. Prerequisites and Setup
  3. Terraform Overview
  4. IAM Account For Tutorial
  5. Hello World - Your First Lambda
  6. Packaging With Dependencies
  7. Lambda Layers
  8. Integrate with S3
  9. Integrate with Kinesis
  10. Integrate with DynamoDB
  11. Integrate with SQS
  12. Integrate with APIGateway
  13. Tear down

Let's Get Started: Serverless Introduction

References (external)