terraform/modules/network/variables.tf

50 lines
1.0 KiB
Terraform
Raw Normal View History

2024-12-04 17:23:22 +01:00
# modules/network/variables.tf
2024-12-06 17:24:57 +01:00
variable "projet_id" {
description = "ID du projet GCP"
2024-12-04 17:23:22 +01:00
type = string
default = "automatisation-tp1"
}
variable "region" {
2024-12-06 17:24:57 +01:00
description = "region des vms"
2024-12-04 17:23:22 +01:00
type = string
2024-12-06 17:24:57 +01:00
default = "europe-west1-b"
}
variable "project_name" {
description = "Nom du projet Google Cloud"
type = string
default = "automatisation-tp1"
2024-12-04 17:23:22 +01:00
}
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"
}
2024-12-06 17:24:57 +01:00
variable "http_source_ranges" {
description = "source ranges"
type = string
default = "0.0.0.0/0"
}