73 lines
1.4 KiB
HCL
73 lines
1.4 KiB
HCL
variable "project_name" {
|
|
description = "Google Cloud Project Name"
|
|
type = string
|
|
default = "automatisation-tp1"
|
|
}
|
|
|
|
variable "project_id" {
|
|
description = "Google Cloud Project Name"
|
|
type = string
|
|
default = "automatisation-tp1"
|
|
}
|
|
|
|
variable "region" {
|
|
description = "Project Region"
|
|
type = string
|
|
default = "europe-west1"
|
|
}
|
|
|
|
variable "frontend_cidr" {
|
|
description = "Frontend subnet CIDR"
|
|
type = string
|
|
default = "10.0.1.0/24"
|
|
}
|
|
|
|
variable "backend_cidr" {
|
|
description = "Backend subnet CIDR"
|
|
type = string
|
|
default = "10.0.2.0/24"
|
|
}
|
|
|
|
variable "database_cidr" {
|
|
description = "Database subnet CIDR"
|
|
type = string
|
|
default = "10.0.3.0/24"
|
|
}
|
|
|
|
variable "ssh_source_ranges" {
|
|
description = "SSH allowed ip ranges"
|
|
type = string
|
|
default = "0.0.0.0/0"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "GCP Instance type"
|
|
type = string
|
|
default = "e2-small"
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "GCP zone"
|
|
type = string
|
|
default = "europe-west1-b"
|
|
}
|
|
|
|
variable "frontend_subnet_id" {
|
|
description = "Frontend subnet ID"
|
|
type = string
|
|
default = "frontend"
|
|
}
|
|
|
|
variable "backend_subnet_id" {
|
|
description = "Backend subnet ID"
|
|
type = string
|
|
default = "backend"
|
|
}
|
|
|
|
variable "database_subnet_id" {
|
|
description = "Database subnet ID"
|
|
type = string
|
|
default = "database"
|
|
}
|
|
|