forked from pierront/but3-iac
55 lines
1.1 KiB
HCL
55 lines
1.1 KiB
HCL
variable "project_name" {
|
|
description = "La blase du projet"
|
|
type = string
|
|
default = "BUT3 Automatisation et Virtua"
|
|
}
|
|
|
|
variable "region" {
|
|
description = "La région du projet"
|
|
type = string
|
|
default = "europe-west9"
|
|
}
|
|
|
|
variable "frontend_cidr" {
|
|
description = "CIDR for frontend subnet"
|
|
type = string
|
|
default = "10.0.1.0/24"
|
|
}
|
|
|
|
variable "backend_cidr" {
|
|
description = "CIDR for backend subnet"
|
|
type = string
|
|
default = "10.0.2.0/24"
|
|
}
|
|
|
|
variable "database_cidr" {
|
|
description = "CIDR for database subnet"
|
|
type = string
|
|
default = "10.0.3.0/24"
|
|
}
|
|
|
|
variable "ssh_source_ranges" {
|
|
description = "Qui peut y accéder"
|
|
type = string
|
|
default = "0.0.0/0"
|
|
}
|
|
|
|
variable "project_id" {
|
|
description = "Id du projet"
|
|
type = string
|
|
default = "silicon-monitor-478713-j5"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "type de l'instance"
|
|
type = string
|
|
default = "e2_small"
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "Nom de la zone"
|
|
type = string
|
|
default = "europe-west9-b"
|
|
}
|
|
|