This commit is contained in:
2024-12-06 02:43:07 +01:00
parent 770fb2bb35
commit ebd9b043a5
3 changed files with 63 additions and 44 deletions

View File

@@ -1,43 +1,44 @@
#- project_name (string)
variable "project_name" {
description = "nom du projet"
description = "Nom du projet"
type = string
default = "tp-1-docker"
default = "but3-automatisation"
}
#- project_id (string)
variable "project_id" {
description = "ID du projet"
type = string
default = "tp-1-docker"
default = "but3-automatisation"
}
# - region (string)
variable "region" {
description = "region du projet"
description = "gion du projet"
type = string
default = "europe-west4"
}
# - frontend_cidr (string)
variable "frontend_cidr" {
description = "frontend"
description = "cidr du frontend"
type = string
default = "10.0.1.0/24"
}
# - backend_cidr (string)
variable "backend_cidr" {
description = "backend"
description = "cidr du backend"
type = string
default = "10.0.2.0/24"
}
# - database_cidr (string)
variable "database_cidr" {
description = "database"
description = "cidr du database"
type = string
default = "10.0.3.0/24"
}
# - ssh_source_ranges (string)
variable "ssh_source_ranges" {
description = "acces internet"
description = "Accès à internet"
type = string
default = "0.0.0.0/24"
default = "0.0.0.0/0"
}
variable "cidr_range" {