terraform.aws-baseline-infra/modules/ApplicationIntegration/apigw-lambda/variables.tf

67 lines
1.4 KiB
Terraform
Raw Normal View History

2024-03-04 11:15:34 +08:00
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
}