fix/feature: fix network & add compute

This commit is contained in:
2025-12-04 10:52:30 +01:00
parent 14f4e37a02
commit 8aad0f4d1a
5 changed files with 55 additions and 52 deletions

View File

@@ -1,36 +1,24 @@
variable "instance_type" {
description = "Type de machine pour les instances Compute Engine"
type = string
default = "e2-medium"
description = "type de l'instance"
type = string
}
variable "zone" {
description = "Zone GCP où déployer les instances"
type = string
default = "europe-west1-b"
description = "Nom de la zone"
type = string
}
variable "frontend_subnet_id" {
description = "ID du sous-réseau frontend"
type = string
default = ""
description = "id du frontend"
type = string
}
variable "backend_subnet_id" {
description = "ID du sous-réseau backend"
type = string
default = ""
description = "id du backend"
type = string
}
variable "database_subnet_id" {
description = "ID du sous-réseau database"
type = string
default = ""
}
variable "project_id" {
description = "ID du projet GCP"
type = string
default = ""
}
description = "id du database"
type = string
}