forked from pierront/but3-iac
55 lines
1.0 KiB
HCL
55 lines
1.0 KiB
HCL
|
|
variable "project_name" {
|
|
description = "Nom du projet"
|
|
type = string
|
|
default = "iutsf"
|
|
}
|
|
|
|
variable "region" {
|
|
description = "Region du projet"
|
|
type = string
|
|
default = "europe-west1"
|
|
}
|
|
|
|
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 = ""
|
|
type = list(string)
|
|
default = ["35.195.166.234/32"]
|
|
}
|
|
|
|
variable "project_id" {
|
|
description = "ID du projet"
|
|
type = string
|
|
default = "iutsf-478713"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "type de l'instance"
|
|
type = string
|
|
default = "e2-small"
|
|
}
|
|
|
|
variable "zone" {
|
|
description = "Nom de la zone"
|
|
type = string
|
|
default = "europe-west1-b"
|
|
}
|