This commit is contained in:
dubreuil
2025-12-04 11:08:11 +00:00
parent e67b5bf03c
commit 2a74663e38
26 changed files with 3305 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
variable "project_id" {
description = "ID du projet"
type = string
default = "affable-framing-478713-b6"
}
variable "region" {
description = "région du projet"
type = string
default = "europe-west9"
}
variable "zone" {
description = "zone du projet"
type = string
default = "europe-west9-b"
}
variable "project_name" {
description = "nom du projet"
type = string
default = "tp-iac"
}
variable "frontend_cidr" {
description = "CIDR du front"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "CIDR for backend subnet"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "CIDR for database subnet"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
description = "ranges ssh"
type = string
default = "0.0.0.0/0"
}
variable "instance_type" {
description = "type de machine sur les instances"
type = string
default = "e2-small"
}