ajout des configs terraform

This commit is contained in:
2025-12-03 15:50:34 +01:00
parent e67b5bf03c
commit f8a428dd6e
12 changed files with 467 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
variable "project_id" {
description = "L'ID du projet GCP."
type = string
}
variable "instance_type" {
description = "Le type de machine (machine type) pour les instances (ex: e2-small)."
type = string
}
variable "zone" {
description = "La zone GCP où déployer les instances."
type = string
}
variable "image" {
description = "L'image du système d'exploitation à utiliser (ex: debian-cloud/debian-11)."
type = string
default = "debian-cloud/debian-11"
}
variable "frontend_subnet_id" {
description = "L'ID du sous-réseau frontend."
type = string
}
variable "backend_subnet_id" {
description = "L'ID du sous-réseau backend."
type = string
}
variable "database_subnet_id" {
description = "L'ID du sous-réseau database."
type = string
}