terraform/modules/network/variables.tf
2024-12-06 16:24:57 +00:00

50 lines
1.0 KiB
HCL

# modules/network/variables.tf
variable "projet_id" {
description = "ID du projet GCP"
type = string
default = "automatisation-tp1"
}
variable "region" {
description = "region des vms"
type = string
default = "europe-west1-b"
}
variable "project_name" {
description = "Nom du projet Google Cloud"
type = string
default = "automatisation-tp1"
}
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 = "source ranges"
type = string
default = "0.0.0.0/0"
}
variable "http_source_ranges" {
description = "source ranges"
type = string
default = "0.0.0.0/0"
}