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,30 +1,25 @@
variable "instance_type" {
description = "Type de machine pour les VM"
type = string
default = "e2-medium"
}
variable "zone" {
description = "Zone GCP où créer les VM"
type = string
default = "europe-west1-b"
}
variable "frontend_subnet_id" {
description = "ID du sous-réseau frontend"
type = string
default = "10.0.1.0/24"
}
variable "backend_subnet_id" {
description = "ID du sous-réseau backend"
type = string
default = "10.0.2.0/24"
}
variable "database_subnet_id" {
description = "ID du sous-réseau database"
type = string
default = "10.0.3.0/24"
}