mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 17:14:03 +00:00
64 lines
793 B
HCL
64 lines
793 B
HCL
variable "project_id" {
|
|
type = string
|
|
}
|
|
|
|
variable "region" {
|
|
type = string
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
variable "image" {
|
|
type = string
|
|
}
|
|
|
|
variable "service_account_email" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "allow_unauthenticated" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "env" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "secret_env" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "labels" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "container_port" {
|
|
type = number
|
|
default = 8080
|
|
}
|
|
|
|
variable "min_instance_count" {
|
|
type = number
|
|
default = 0
|
|
}
|
|
|
|
variable "max_instance_count" {
|
|
type = number
|
|
default = 3
|
|
}
|
|
|
|
variable "limits" {
|
|
type = map(string)
|
|
default = {
|
|
cpu = "1"
|
|
memory = "512Mi"
|
|
}
|
|
}
|