Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconmodules
file-type-iconapi-gateway-account-settings
file-type-iconapi-gateway-proxy-methods
file-type-iconapi-gateway-proxy
file-type-iconkeep-warm
file-type-iconlambda-edge
file-type-iconlambda
file-type-iconscheduled-lambda-job
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconowners.txt
file-type-iconterraform-cloud-enterprise-private-module-...

Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconmodules
file-type-iconapi-gateway-account-settings
file-type-iconapi-gateway-proxy-methods
file-type-iconapi-gateway-proxy
file-type-iconkeep-warm
file-type-iconlambda-edge
file-type-iconlambda
file-type-iconscheduled-lambda-job
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
file-type-iconowners.txt
file-type-iconterraform-cloud-enterprise-private-module-...
AWS Lambda

AWS Lambda

Deploy Lambda functions with Terraform. Supports uploading deployment packages, configuring environment variables, and scheduled functions.

Code Preview

Preview the Code

mobile file icon

vars.tf

down
  • # ---------------------------------------------------------------------------------------------------------------------
  • # REQUIRED MODULE PARAMETERS
  • # These variables must be passed in by the operator.
  • # ---------------------------------------------------------------------------------------------------------------------
  • variable "lambda_function_name" {
  • description = "The name of the lambda function."
  • type = string
  • }
  • variable "lambda_function_arn" {
  • description = "The ARN of the lambda function."
  • type = string
  • }
  • variable "schedule_expression" {
  • description = "An expression that defines the schedule for this lambda job. For example, cron(0 20 * * ? *) or rate(5 minutes)."
  • type = string
  • }
  • # ---------------------------------------------------------------------------------------------------------------------
  • # OPTIONAL MODULE PARAMETERS
  • # These variables have defaults, but may be overridden by the operator.
  • # ---------------------------------------------------------------------------------------------------------------------

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?