marche ptn

This commit is contained in:
2025-12-03 16:34:43 +01:00
parent 370e3e3aa2
commit eebd1ba3d3
15 changed files with 184 additions and 350 deletions

View File

@@ -1,33 +1,37 @@
# À vous de définir les variables pour :
# - project_name (string)
# - region (string)
# - frontend_cidr (string)
# - backend_cidr (string)
# - database_cidr (string)
# - ssh_source_ranges (string)
variable "project_name" {
description = "Nom du projet GCP"
description = "Nom du projet"
type = string
}
variable "region" {
description = "Région pour le VPC et les sous-réseaux"
type = string
}
variable "ssh_source_ranges" {
description = "Plages IP autorisées pour SSH"
description = "Region du projet"
type = string
}
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 = string
}