2023-01-24 02:14:21 -08:00
|
|
|
variable "project_id" {
|
|
|
|
description = "Project ID"
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2023-01-25 01:17:46 -08:00
|
|
|
variable "region" {
|
|
|
|
description = "Cloud region where resource will be deployed"
|
|
|
|
type = string
|
|
|
|
default = "europe-west1"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "run_svc_name" {
|
|
|
|
description = "Cloud Run service name"
|
|
|
|
type = string
|
|
|
|
default = "hello"
|
|
|
|
}
|
|
|
|
|
2023-01-24 02:14:21 -08:00
|
|
|
variable "image" {
|
|
|
|
description = "Container image to deploy"
|
|
|
|
type = string
|
2023-01-25 01:17:46 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "glb_create" {
|
|
|
|
description = "Create a Global Load Balancer in front of the Cloud Run service"
|
|
|
|
type = bool
|
|
|
|
default = false
|
|
|
|
}
|