2024-12-06 16:12:47 +01:00
|
|
|
#- project_name (string)
|
2024-12-04 16:20:32 +01:00
|
|
|
variable "project_name" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "Nom du projet"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
|
|
|
}
|
2024-12-06 16:12:47 +01:00
|
|
|
# - region (string)
|
2024-12-04 16:20:32 +01:00
|
|
|
variable "region" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "Région du projet"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
|
|
|
}
|
2024-12-06 16:12:47 +01:00
|
|
|
# - frontend_cidr (string)
|
2024-12-04 16:20:32 +01:00
|
|
|
variable "frontend_cidr" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "cidr du frontend"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
|
|
|
}
|
2024-12-06 16:12:47 +01:00
|
|
|
# - backend_cidr (string)
|
2024-12-04 16:20:32 +01:00
|
|
|
variable "backend_cidr" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "cidr du backend"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
|
|
|
}
|
2024-12-06 16:12:47 +01:00
|
|
|
# - database_cidr (string)
|
2024-12-04 16:20:32 +01:00
|
|
|
variable "database_cidr" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "cidr du database"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
|
|
|
}
|
2024-12-06 16:12:47 +01:00
|
|
|
# - ssh_source_ranges (string)
|
2024-12-04 16:20:32 +01:00
|
|
|
variable "ssh_source_ranges" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "Accès à internet"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "cidr_range" {
|
2024-12-06 15:00:16 +01:00
|
|
|
description = "cidr de network"
|
2024-12-04 16:20:32 +01:00
|
|
|
type = string
|
2024-12-06 15:00:16 +01:00
|
|
|
}
|