Model/infrastructure/terraform/modules/lambda_service_zip/variables.tf
2026-03-11 18:05:23 +00:00

32 lines
No EOL
859 B
HCL

variable "name" { type = string }
variable "role_arn" { type = string }
variable "filename" {
type = string
default = null
description = "Local path to zip file (mutually exclusive with s3_bucket/s3_key)"
}
variable "s3_bucket" {
type = string
default = null
description = "S3 bucket for Lambda code (used with s3_key)"
}
variable "s3_key" {
type = string
default = null
description = "S3 key for Lambda code (used with s3_bucket)"
}
variable "source_code_hash" { type = string }
variable "handler" { type = string }
variable "runtime" { type = string }
variable "timeout" {
type = number
default = 30
}
variable "memory_size" {
type = number
default = 128
}
variable "environment" {
type = map(string)
default = {}
}