Files
but3-iac/tp-cloud/terraform/environments/dev/variables.tf

71 lines
1.1 KiB
Terraform
Raw Normal View History

2025-12-04 11:24:05 +01:00
variable "instance_type" {
description = "type de l'instance"
type = string
default = "e2-small"
}
variable "zone" {
description = "région"
type = string
default = "europe-west9-b"
}
variable "project_id" {
description = "ID du projet GCP dans lequel appliquer les règles IAM"
type = string
2025-12-04 12:14:50 +01:00
default = "gifted-chimera-424007-g1"
2025-12-04 11:24:05 +01:00
}
variable "project_name" {
description = "Nom du projet"
type = string
default = "My First Project"
}
variable "region" {
description = "Région"
type = string
default = "europe-west9"
}
variable "frontend_cidr" {
description = "CIDR du frontend"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "CIDR du backend"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "CIDR de la database"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
description = "Plages IP autorisées pour SSH"
type = string
default = "0.0.0.0/0"
}