forked from pierront/but3-iac
42 lines
863 B
HCL
42 lines
863 B
HCL
# À vous de définir les variables pour :
|
|
# - project_name (string)
|
|
# - region (string)
|
|
# - frontend_cidr (string)
|
|
# - backend_cidr (string)
|
|
# - database_cidr (string)
|
|
# - ssh_source_ranges (string)
|
|
|
|
variable "project_name" {
|
|
description = "Nom du projet"
|
|
type = string
|
|
default = "Test IAC"
|
|
}
|
|
|
|
variable "region" {
|
|
description = "Nom de la région"
|
|
type = string
|
|
default = "europe-west9"
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
variable "ssh_source_ranges" {
|
|
description = "ssh_source_ranges"
|
|
type = string
|
|
} |