forked from pierront/but3-iac
36 lines
735 B
HCL
36 lines
735 B
HCL
variable "project_id" {
|
|
description = "ID du projet GCP"
|
|
type = string
|
|
default = "mon-projet"
|
|
}
|
|
|
|
variable "region" {
|
|
description = "region de l'instance"
|
|
type = string
|
|
default = "europe-west1-b"
|
|
}
|
|
|
|
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 = "la range des sources ssh"
|
|
type = string
|
|
default = "0.0.0.0/0"
|
|
}
|