forked from pierront/but3-iac
network
This commit is contained in:
36
terraform/modules/network/variables.tf
Normal file
36
terraform/modules/network/variables.tf
Normal file
@@ -0,0 +1,36 @@
|
||||
variable "project_name" {
|
||||
description = "Nom du projet"
|
||||
type = string
|
||||
default = "western-diorama-374821"
|
||||
}
|
||||
|
||||
variable "region" {
|
||||
description = "Région où déployer l'infrastructure"
|
||||
type = string
|
||||
default = "us-central1"
|
||||
}
|
||||
|
||||
variable "frontend_cidr" {
|
||||
description = "CIDR pour le sous-réseau frontend"
|
||||
type = string
|
||||
default = "10.0.1.0/24"
|
||||
}
|
||||
|
||||
variable "backend_cidr" {
|
||||
description = "CIDR pour le sous-réseau backend"
|
||||
type = string
|
||||
default = "10.0.2.0/24"
|
||||
}
|
||||
|
||||
variable "database_cidr" {
|
||||
description = "CIDR pour le sous-réseau database"
|
||||
type = string
|
||||
default = "10.0.3.0/24"
|
||||
}
|
||||
|
||||
variable "ssh_source_ranges" {
|
||||
description = "Plages IP autorisées à accéder en SSH"
|
||||
type = string
|
||||
default = "35.239.249.161/32"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user