2024-12-04 16:11:44 +01:00
|
|
|
variable "project_name" {
|
2024-12-04 16:23:06 +01:00
|
|
|
description = "nom du projet"
|
|
|
|
type = string
|
|
|
|
default = "tp-1-docker"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "project_id" {
|
2024-12-04 16:11:44 +01:00
|
|
|
description = "ID du projet"
|
|
|
|
type = string
|
|
|
|
default = "tp-1-docker"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "region" {
|
|
|
|
description = "region du projet"
|
|
|
|
type = string
|
2024-12-04 16:53:46 +01:00
|
|
|
default = "europe-west4"
|
2024-12-04 16:11:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "frontend_cidr" {
|
|
|
|
description = "frontend"
|
|
|
|
type = string
|
|
|
|
default = "10.0.1.0/24"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "backend_cidr" {
|
|
|
|
description = "backend"
|
|
|
|
type = string
|
|
|
|
default = "10.0.2.0/24"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "database_cidr" {
|
|
|
|
description = "database"
|
|
|
|
type = string
|
|
|
|
default = "10.0.3.0/24"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "ssh_source_ranges" {
|
|
|
|
description = "acces internet"
|
|
|
|
type = string
|
|
|
|
default = "0.0.0.0/24"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cidr_range" {
|
|
|
|
description = "cidr de network"
|
|
|
|
type = string
|
|
|
|
default = "10.0.0.0/16"
|
|
|
|
}
|