SourceCode
Report an Issue

Simple Lambda example

Configuration in this directory creates the following Resources:

  • S3 Bucket
  • Uploads Lambda code to S3 bucket
  • IAM Role and Attach Policy for Lambda
  • Lambda Function

Usage

To run this example you need to execute:

$ terraform init
$ terraform plan
$ terraform apply

Note that this example may create resources which cost money. Run terraform destroy when you don’t need these resources.