lambda

howdio/lambda/aws

Terraform Module HCL AWS

Terraform module which packages and creates Lambda functions on AWS

Install
module "lambda" {
source = "howdio/lambda/aws"
version = "0.2.1"
}
plain text: /constructs/tfmod-howdio-lambda-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS Lambda Terraform module Terraform module which package & creates Lambda functions on AWS. Usage ``hcl module "lambda" { source = "howdio/lambda/aws" name = "myfunction" runtime = "nodejs8.10" handler = "index.handler" package_path = "${path.module}/index.js" } ` Terraform version Terraform version 0.10.3 or newer is required for this module to work. Examples * Basic - Basic Lambda function Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | description | Description of what your Lambda Function does. | string | | no | | handler | The function entrypoint in your code. | string | - | yes | | name | Name to be used on all the resources as identifier. | string | - | yes | | package_include_paths | Additional files and directories which

Inputs (11)
NameTypeDescriptionDefault
nameanyName to be used on all the resources as identifier. required
runtimeanyThe function runtime to use. (nodejs, nodejs4.3, nodejs6.10, nodejs8.10, java8, required
package_pathanyThe path to the function's deployment package within the local filesystem. required
handleranyThe function entrypoint in your code. required
descriptionanyDescription of what your Lambda Function does.""
roleanyThis governs both who / what can invoke your Lambda Function, as well as what re""
policyanyIAM policy attached to the Lambda Function role.""
package_include_pathsanyAdditional files and directories which should be part of of the package .zip fil[]
role_nameanyThe name of the IAM role which will be created for the Lambda Function.""
policy_arnanyThe Amazon Resource Name (ARN) identifying your IAM policy attached to the Lambd""
tagsanyA mapping of tags to assign to the object.{}
Outputs (8)
last_modified — The date this Lambda Function was last modified.
role — The Amazon Resource Name (ARN) identifying the IAM role attached to the Lambda Function.
package_size — The size in bytes of the function package file.
package_hash — Base64-encoded representation of raw SHA-256 sum of the zip file, provided either via filename.
arn — The Amazon Resource Name (ARN) identifying your Lambda Function.
invoke_arn — The ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_int
qualified_arn — The Amazon Resource Name (ARN) identifying your Lambda Function Version.
version — Latest published version of your Lambda Function.
Topics & Tags
terraformawslambda
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.1
Cloud AWS
★ Stars0
Forks4
Total downloads7.2k
Inputs11
Outputs8
Examples1
Submodules2
LicenseMIT
Namespacehowdio
Updated