Files

43 lines
850 B
Terraform
Raw Permalink Normal View History

2025-12-04 10:15:36 +01:00
# À vous de définir les variables pour :
# - project_name (string)
# - region (string)
# - frontend_cidr (string)
# - backend_cidr (string)
# - database_cidr (string)
# - ssh_source_ranges (string)
2025-12-04 11:05:37 +01:00
# variable "project_id" {
# description = "ID du projet GCP"
# type = string
# default = "mon-projet"
# }
2025-12-03 17:10:48 +01:00
variable "project_name" {
2025-12-04 10:15:36 +01:00
description = "Nom du projet"
2025-12-03 17:10:48 +01:00
type = string
}
variable "region" {
2025-12-04 10:15:36 +01:00
description = "Region du projet"
2025-12-03 17:10:48 +01:00
type = string
}
variable "frontend_cidr" {
description = "CIDR for frontend subnet"
type = string
}
variable "backend_cidr" {
description = "CIDR for backend subnet"
type = string
}
variable "database_cidr" {
description = "CIDR for database subnet"
type = string
}
variable "ssh_source_ranges" {
2025-12-04 10:15:36 +01:00
description = ""
2025-12-03 17:10:48 +01:00
type = string
2025-12-04 10:15:36 +01:00
}