tp_cloud/terraform/modules/network/variables.tf

36 lines
753 B
Terraform
Raw Normal View History

2024-12-04 17:28:21 +01:00
# modules/network/variables.tf
variable "project_name" {
2024-12-06 16:15:47 +01:00
description = "Nom du projet"
2024-12-04 17:28:21 +01:00
type = string
}
variable "region" {
2024-12-06 16:15:47 +01:00
description = "Région du projet"
2024-12-04 17:28:21 +01:00
type = string
}
2024-12-06 16:15:47 +01:00
2024-12-04 17:28:21 +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"
}
2024-12-06 16:15:47 +01:00
# variables (network)
variable "ssh_source_ranges" {
description = "ssh access"
type = string
default = "0.0.0.0/0"
}