mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
32 lines
No EOL
859 B
HCL
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 = {}
|
|
} |