71 lines
1.3 KiB
HCL
71 lines
1.3 KiB
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 "tp07-frontend"{
|
|
description = "sous réseau frontend"
|
|
type = string
|
|
default = "tp07-frontend"
|
|
}
|
|
|
|
variable "tp07-backend"{
|
|
description = "sous réseau backend"
|
|
type = string
|
|
default = "tp07-backend"
|
|
}
|
|
|
|
variable "tp07-database"{
|
|
description = "sous réseau database"
|
|
type = string
|
|
default = "tp07-database"
|
|
}
|
|
|
|
variable "zone"{
|
|
description = "region du projet"
|
|
type = string
|
|
default = "europe-west4-b"
|
|
}
|
|
|
|
variable "instance_type"{
|
|
description = "type d'instance"
|
|
type = string
|
|
default = "e2-small"
|
|
} |