cdh-terraform/modules/lambda/variables.tf

59 lines
763 B
HCL

variable "name" {
type = string
}
variable "description" {
type = string
}
variable "runtime" {
type = string
}
variable "handler" {
type = string
}
variable "path_to_function" {
type = string
}
variable "memory" {
type = number
}
variable "timeout" {
type = number
}
variable "environment_vars" {
type = map(string)
}
variable "cron" {
default = {}
}
variable "s3Trigger" {
default = {}
}
variable "snsTrigger" {
default = {}
}
variable "reserved_concurrent_executions" {
type = number
default = -1
}
variable "additional_permissions" {
type = list(
object({
actions = list(string)
resources = list(string)
})
)
default = []
}