Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nsriram/lambda-the-terraform-way

AWS Lambda using Terraform., an Introductory Cookbook
https://github.com/nsriram/lambda-the-terraform-way

aws awslambda devops infrastructure-as-code terraform

Last synced: 3 days ago
JSON representation

AWS Lambda using Terraform., an Introductory Cookbook

Awesome Lists containing this project

README

        

# 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](https://www.terraform.io/) 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](docs/01-serverless-introduction.md)
2. [Prerequisites and Setup](docs/02-terraform-and-aws-cli-installation.md)
3. [Terraform Overview](docs/03-terraform-overview.md)
4. [IAM Account For Tutorial](docs/04-iam-account-setup.md)
5. [Hello World - Your First Lambda](docs/05-hello-world-your-first-lambda.md)
6. [Packaging With Dependencies](docs/06-packaging-lambda-with-dependencies.md)
7. [Lambda Layers](docs/07-lambda-layers.md)
8. [Integrate with S3](docs/08-integrate-with-s3.md)
9. [Integrate with Kinesis](docs/09-integrate-with-kinesis.md)
10. [Integrate with DynamoDB](docs/10-integrate-with-dynamodb.md)
11. [Integrate with SQS](docs/11-integrate-with-sqs.md)
12. [Integrate with APIGateway](docs/12-integrate-with-api-gateway.md)
13. [Tear down](docs/13-teardown.md)

**Let's Get Started**: [Serverless Introduction](docs/01-serverless-introduction.md)

## References (external)
- [Terraform](https://www.terraform.io/)
- [AWS Lambda](https://aws.amazon.com/lambda/)
- [Google Cloud Functions](https://cloud.google.com/functions/)
- [Azure Functions](https://azure.microsoft.com/en-gb/services/functions/)
- [Apache OpenWhisk](https://openwhisk.apache.org/)
- [KNative](https://cloud.google.com/knative/)
- [Kubeless](https://kubeless.io/)
- [Serverless](https://serverless.com/)
- [OpenFaaS](https://www.openfaas.com/)