This commit is contained in:
2025-12-03 15:51:27 +01:00
parent e67b5bf03c
commit f2eef8ed81
12 changed files with 136 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# À vous de définir les variables pour :
# - project_name (string)
# - region (string)
# - frontend_cidr (string)
# - backend_cidr (string)
# - database_cidr (string)
# - ssh_source_ranges (string)
variable "project_name" {
description = "Nom du projet"
type = string
default = "Test IAC"
}
variable "region" {
description = "Nom de la région"
type = string
default = "europe-west9"
}
variable "frontend_cidr" {
description = "CIDR for frontend subnet"
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 = "ssh_source_ranges"
type = string
}