# Terraform Docs ## Modules | Name | Source | Version | |------|--------|---------| | [kms](#module\_kms) | https://github.com/cumberland-cloud/modules-kms.git | 8842d57 | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [lambda](#input\_lambda) | Lambda function configuration object.

KMS key: If no KMS key is specified for the encryption of resources, one will be provisioned. If using a pre-existing key, the key output from the KMS module should be passed in under the `key` object.

Execution\_role: Pass in the `service_roles['lambda']` output from the IAM module. |
object({
execution_role = any
function_name = string
image_url = string
environment_variables = optional(map(any), null)
key = optional(string, null)
memory = optional(number, 512)
timeout = optional(number, 120)
tracing_config_mode = optional(string, "Active")
reserved_concurrent_executions = optional(number, 50)
vpc_config = optional(object({
security_group_ids = list(string)
subnet_ids = list(string)
}), null)
})
| n/a | yes | ## Outputs | Name | Description | |------|-------------| | [function](#output\_function) | n/a |