lambda

clouddrove/lambda/aws

Terraform Module HCL AWS

Terraform module to create Lambda resource on AWS for create lambda function.

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

Terraform AWS Lambda Terraform module to create Lambda resource on AWS for create lambda function. We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrast

Inputs (50)
NameTypeDescriptionDefault
image_uristringThe ECR image URI containing the function's deployment package.null
principal_org_idstringThe identifier for your organization in AWS Organizations. Use this to grant pernull
attributeslist(any)Additional attributes (e.g. `1`).[]
subnet_idslist(any)Subnet ids for vpc config.[]
image_config_commandlist(string)The CMD for the docker image[]
snap_startbool(Optional) Snap start settings for low-latency startupsfalse
iam_actionslist(any)The actions for Iam Role Policy.[ "logs:CreateLogStream", "logs:Crea
existing_cloudwatch_log_group_namestringName of existing cloudwatch log group.null
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`).""
managedbystringManagedBy, eg 'CloudDrove'."[email protected]"
filenamestringThe path to the function's deployment package within the local filesystem. If denull
nameslist(any)A unique name for your Lambda Layer.[]
ephemeral_storage_sizenumberAmount of ephemeral storage (/tmp) in MB your Lambda Function can use at runtime512
existing_cloudwatch_log_groupboolWhether to use an existing CloudWatch log group or create newfalse
descriptionslist(any)Description of what your Lambda Layer does.[]
principalslist(any)The principal who is getting this permission. e.g. s3.amazonaws.com, an AWS acco[]
security_group_idslist(any)Security group ids for vpc config.[]
image_config_entry_pointlist(string)The ENTRYPOINT for the docker image[]
runtimestringRuntimes."python3.7"
actionslist(any)The AWS Lambda action you want to allow in this statement. (e.g. lambda:InvokeFu[]
… and 10 more inputs
Outputs (5)
name — The name of the Lambda Function
arn — The Amazon Resource Name (ARN) identifying your Lambda Function.
tags — A mapping of tags to assign to the resource.
lambda_log_group_name — A mapping of tags to assign to the resource.
invoke_arn — Invoke ARN
Resources (10)
aws_cloudwatch_log_groupaws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_kms_aliasaws_kms_keyaws_kms_key_policyaws_lambda_functionaws_lambda_layer_versionaws_lambda_permission
Details
FrameworkTerraform Module
LanguageHCL
Version1.3.1
Cloud AWS
★ Stars22
Forks13
Total downloads19.3k
Inputs50
Outputs5
Resources10
LicenseApache-2.0
Namespaceclouddrove
Updated