53 lines
1005 B
HCL
53 lines
1005 B
HCL
variable "project_name"{
|
|
description = "nom du projet"
|
|
type = string
|
|
default = "Cours-virtu"
|
|
}
|
|
|
|
variable "project_id"{
|
|
description = "identifiant du projet"
|
|
type = string
|
|
default = "cours-virtu"
|
|
}
|
|
|
|
variable "region"{
|
|
description = "region du projet"
|
|
type = string
|
|
default = "europe-west4"
|
|
}
|
|
|
|
variable "frontend_cidr"{
|
|
description = "sous réseau frontend"
|
|
type = string
|
|
default = "10.0.1.0/24"
|
|
}
|
|
|
|
variable "backend_cidr"{
|
|
description = "sous réseau backend"
|
|
type = string
|
|
default = "10.0.2.0/24"
|
|
}
|
|
|
|
variable "database_cidr"{
|
|
description = "sous réseau database"
|
|
type = string
|
|
default = "10.0.3.0/24"
|
|
}
|
|
|
|
variable "ssh_source_ranges"{
|
|
description = "source range ssh"
|
|
type = string
|
|
default = "0.0.0.0/0"
|
|
}
|
|
|
|
variable "zone"{
|
|
description = "region du projet"
|
|
type = string
|
|
default = "europe-west4-b"
|
|
}
|
|
|
|
variable "instance_type"{
|
|
description = "type d'instance"
|
|
type = string
|
|
default = "e2-small"
|
|
} |