bsmsapp/terraform/modules/lambda/variables.tf

44 lines
955 B
HCL

# ------------------------------------------------------------------------
# Amazon Lambda variables
# ------------------------------------------------------------------------
variable "account_id" {
type = string
description = "The current Accound ID"
}
variable "local_path" {
type = string
description = "Local path"
}
variable "lambda_info" {
type = map(string)
description = "Contains all necesary lambda info"
}
variable "apigw_execution_arn" {
type = string
description = "API GW execution ARN"
}
variable "subnet_ids" {
type = list(any)
description = "The list of subnets created"
}
variable "sg_ids" {
type = list(any)
description = "The list of subnets created"
}
variable "runtime" {
type = string
description = "Lambda function runtime language"
default = "python3.12"
}
variable "iam_role_arn" {
type = string
description = "IAM role arn"
}