Files
but3-iac/terraform/environments/dev/variables.tf
2025-12-04 11:02:25 +01:00

70 lines
1.3 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.
# Commentaire
variable "project_name" {
type = string
description = "but3-iac"
default = "Automaticsearch"
}
variable "region" {
type = string
description = "Région dans laquelle déployer les ressources"
default = "europe-west9"
}
variable "frontend_cidr" {
description = "CIDR for frontend subnet"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "CIDR for backend subnet"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "CIDR for database subnet"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
type = string
description = "Plages dadresses autorisées à se connecter en SSH"
default = "0.0.0.0/0"
}
variable "project_id"{
description = "id du projet"
type = string
default = "automaticsearch-477610"
}
variable "instance_type" {
description = "Type de machine à utiliser pour les instances"
type = string
default = "e2-small"
}
variable "zone" {
description = "Zone où déployer les instances"
type = string
default = "europe-west9-b"
}
variable "project_id" {
description = "Le projet ID"
type = string
default = "instance-20251203-132021"
}