2025-12-04 09:32:09 +01:00
|
|
|
# variable "project_id" {
|
|
|
|
|
# description = "ID du projet GCP"
|
|
|
|
|
# type = string
|
|
|
|
|
# default = "mon-projet"
|
|
|
|
|
# }
|
2025-12-03 17:10:48 +01:00
|
|
|
|
|
|
|
|
variable "project_name" {
|
2025-12-04 09:59:27 +01:00
|
|
|
description = "Nom du projet cidr"
|
2025-12-03 17:10:48 +01:00
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "region" {
|
2025-12-04 09:59:27 +01:00
|
|
|
description = "region du cidr"
|
2025-12-03 17:10:48 +01:00
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "frontend_cidr" {
|
|
|
|
|
description = "CIDR for frontend subnet"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "backend_cidr" {
|
|
|
|
|
description = "CIDR for backend subnet"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "database_cidr" {
|
|
|
|
|
description = "CIDR for database subnet"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "ssh_source_ranges" {
|
2025-12-04 09:59:27 +01:00
|
|
|
description = "ssh_source_range du projet cidr"
|
2025-12-03 17:10:48 +01:00
|
|
|
type = string
|
2025-12-04 09:59:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|