Files
but3-iac/terraform/environments/dev/variable.tf

53 lines
1.1 KiB
Terraform
Raw Normal View History

2025-12-03 16:29:13 +01:00
variable "project_name" {
description = "project name"
type = string
default = "nom de projet"
}
variable "project_id" {
description = "project id"
type = string
default = "dazzling-alpha-477917-q9"
}
variable "region" {
description = "region "
type = string
2025-12-03 16:47:20 +01:00
default = "europe-west9"
2025-12-03 16:48:52 +01:00
}
2025-12-03 16:29:13 +01:00
2025-12-03 16:48:52 +01:00
variable "frontend_cidr" {
2025-12-03 16:29:13 +01:00
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"
}
2025-12-04 09:34:25 +01:00
2025-12-03 16:29:13 +01:00
variable "ssh_source_ranges" {
description = "ssh"
type = string
default = "0.0.0.0/0"
2025-12-04 09:34:25 +01:00
}
variable "zone" {
description = "zone"
type = string
default = var.region +"-b"
}
variable "instance_type" {
description = "instance_type"
type = string
default = "e2-small"
2025-12-03 16:29:13 +01:00
}