Files
but3-iac/terraform/environments/dev/variables.tf
gallego 47814729f3 debut
2025-12-04 10:07:08 +00:00

71 lines
1.5 KiB
HCL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
variable "project_id" {
type = string
description = "ID du projet GCP."
default = "ok"
}
variable "instance_type" {
type = string
description = "Type de machine pour les instances."
default = "e2-small"
}
variable "zone" {
type = string
description = "Zone GCP où déployer les instances."
default = "europe-west9-b"
}
variable "frontend_subnet_id" {
type = string
description = "ID du sous réseau frontend."
default = ""
}
variable "backend_subnet_id" {
type = string
description = "ID du sous-réseau backend."
default = ""
}
variable "database_subnet_id" {
type = string
description = "ID du sous-réseau database."
default = ""
}
variable "project_name" {
type = string
description = "Nom du projet."
default = "ok"
}
variable "region" {
type = string
description = "Région où seront déployées les ressources réseau."
default = "europe-west9-b"
}
variable "frontend_cidr" {
type = string
description = "CIDR du sous-réseau frontend."
default = "10.0.1.0/24"
}
variable "backend_cidr" {
type = string
description = "CIDR du sous-réseau backend."
default = "10.0.2.0/24"
}
variable "database_cidr" {
type = string
description = "CIDR du sous-réseau base de données."
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
type = string
description = "Plages dadresses autorisées pour laccès SSH."
default = "0.0.0.0/0"
}