variable "name" { type = string description = "Name of apigateway" } variable "description" { type = string description = "Description of apigateway" } variable "path_part" { type = string description = "Last path segment of this API resource" } variable "stage-name" { type = string description = "Apigateway stage name" } variable "lambda-archive-file" { type = string description = "Path to lambda zip archive" } variable "lambda-runtime-version" { type = string description = "Lambda runtime version" default = "python3.12" } variable "lambda-main-function-name" { type = string description = "Main python file without the .py extension" } variable "apigw-vpc-id" { type = string description = "VPC id of apigateway" } variable "apigw-subnet-ids" { type = list(string) description = "Subnet IDs of apigateway" } variable "apigw-security-group-id" { type = string description = "Security group id of apigateway" } variable "create-vpc-link" { type = bool description = "Set true to create vpc link for outbound access to specific targets" } variable "apigw-vpc-link-target-arns" { type = list(string) description = "Target arns for apigateway VPC link" default = [] } variable "cloudwatchlog-retention" { type = number description = "Cloudwatch log group retention days" default = 14 } variable "cwl-cmk-key-id" { type = string description = "CMK arn for cloudwatch logs encryption" default = null }