36 lines
732 B
HCL
36 lines
732 B
HCL
# modules/network/variables.tf
|
|
variable "project_name" {
|
|
description = "Nom du projet"
|
|
type = string
|
|
}
|
|
|
|
variable "region" {
|
|
description = "Région du projet"
|
|
type = string
|
|
}
|
|
|
|
|
|
variable "frontend_cidr" {
|
|
description = "Bloc CIDR pour le sous-réseau frontend"
|
|
type = string
|
|
default = "10.0.1.0/24"
|
|
}
|
|
|
|
variable "backend_cidr" {
|
|
description = "Bloc CIDR pour le sous-réseau backend"
|
|
type = string
|
|
default = "10.0.2.0/24"
|
|
}
|
|
|
|
variable "database_cidr" {
|
|
description = "Bloc CIDR pour le sous-réseau database"
|
|
type = string
|
|
default = "10.0.3.0/24"
|
|
}
|
|
|
|
variable "ssh_source_ranges" {
|
|
description = "ssh access"
|
|
type = string
|
|
default = "0.0.0.0/0"
|
|
}
|