compute + environment

This commit is contained in:
2025-12-04 08:56:03 +00:00
parent 6433a004ce
commit 7f6eed3194
14 changed files with 2234 additions and 61 deletions

View File

@@ -1,35 +1,34 @@
variable "project_name" {
description = "Nom du projet"
type = string
default = "iutsf-478713"
}
variable "project_id" {
description = "Id du projet"
type = string
}
variable "region" {
description = "Région cloud"
type = string
default = "europe-west1"
}
variable "frontend_cidr" {
description = "CIDR du sous-réseau frontend"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "CIDR du sous-réseau backend"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "CIDR du sous-réseau base de données"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
description = "Plages IP autorisées à SSH"
type = list(string)
default = ["34.78.156.163/32"]
}