forked from pierront/but3-iac
36 lines
710 B
HCL
36 lines
710 B
HCL
variable "project_name" {
|
|
description = "nom du projet GCP"
|
|
type = string
|
|
default = "mon-projet"
|
|
}
|
|
|
|
variable "region" {
|
|
description = "region de l'instance"
|
|
type = string
|
|
default = "europe-west9b"
|
|
}
|
|
|
|
variable "backend_cidr" {
|
|
description = "cidr du backend"
|
|
type = string
|
|
default = "10.0.2.0/24"
|
|
}
|
|
|
|
variable "frontend_cidr" {
|
|
description = "cidr du frontend"
|
|
type = string
|
|
default = "10.0.1.0/24"
|
|
}
|
|
|
|
variable "database_cidr" {
|
|
description = "cidr de la DB"
|
|
type = string
|
|
default = "10.0.3.0/24"
|
|
}
|
|
|
|
variable "ssh_source_ranges" {
|
|
description = "la range des sources ssh"
|
|
type = string
|
|
default = "0.0.0.0/0"
|
|
}
|