Files
but3-iac/terraform/environments/dev/variables.tf
2025-12-04 09:23:03 +00:00

55 lines
1.1 KiB
HCL

variable "project_name" {
description = "Project ID GCP"
type = string
default = "western-diorama-374821"
}
variable "region" {
description = "Region GCP"
type = string
default = "us-central1"
}
variable "zone" {
description = "Zone GCP"
type = string
default = "us-central1-a"
}
variable "frontend_cidr" {
description = "CIDR du subnet frontend"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "CIDR du subnet backend"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "CIDR du subnet database"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
description = "Plages IP autorisées pour SSH"
type = string
default = "35.239.249.161/32"
}
variable "instance_type" {
description = "Type de machine pour les instances"
type = string
default = "e2-small"
}
variable "project_id" {
description = "ID du projet pour IAM (souvent le même que project_name)"
type = string
default = "western-diorama-374821"
}