terraform/modules/network/variables.tf

37 lines
788 B
Terraform
Raw Normal View History

2024-12-04 17:23:22 +01:00
# modules/network/variables.tf
variable "project_name" {
description = "Nom du projet Google Cloud"
type = string
default = "automatisation-tp1"
}
variable "region" {
description = "Région Google Cloud"
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 = "source ranges"
type = string
default = "0.0.0.0/0"
}