forked from pierront/but3-iac
on espere ca va marcher
This commit is contained in:
33
terraform/modules/network/variables.tf
Normal file
33
terraform/modules/network/variables.tf
Normal file
@@ -0,0 +1,33 @@
|
||||
variable "project_name" {
|
||||
description = "Nom du projet GCP"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "region" {
|
||||
description = "Région pour le VPC et les sous-réseaux"
|
||||
type = string
|
||||
}
|
||||
|
||||
|
||||
variable "ssh_source_ranges" {
|
||||
description = "Plages IP autorisées pour SSH"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "frontend_cidr" {
|
||||
description = "CIDR for frontend subnet"
|
||||
type = string
|
||||
default = "10.0.1.0/24"
|
||||
}
|
||||
|
||||
variable "backend_cidr" {
|
||||
description = "CIDR for backend subnet"
|
||||
type = string
|
||||
default = "10.0.2.0/24"
|
||||
}
|
||||
|
||||
variable "database_cidr" {
|
||||
description = "CIDR for database subnet"
|
||||
type = string
|
||||
default = "10.0.3.0/24"
|
||||
}
|
||||
Reference in New Issue
Block a user