1
0
forked from pierront/but3-iac

presque fini (je pense)

This commit is contained in:
2025-12-04 10:46:51 +01:00
parent 5746077039
commit 249504829a
8 changed files with 64 additions and 51 deletions

View File

@@ -53,7 +53,7 @@ resource "google_compute_instance" "database" {
boot_disk {
initialize_params {
image = "debian-cloud/debian-11"
size = 10
size = 20
}
}

View File

@@ -1,24 +1,29 @@
variable "project_name" {
type = string
description = "Nom du projet / préfixe pour les VMs"
type = string
}
variable "instance_type" {
type = string
description = "Type de machine à utiliser pour les instances"
type = string
}
variable "zone" {
type = string
description = "Zone où déployer les instances"
type = string
}
variable "frontend_subnet_id" {
type = string
description = "ID du sous-réseau frontend"
type = string
}
variable "backend_subnet_id" {
type = string
description = "ID du sous-réseau backend"
type = string
}
variable "database_subnet_id" {
type = string
description = "ID du sous-réseau database"
type = string
}