tp-cloud/terraform/environments/dev/variables.tf

53 lines
1.1 KiB
Terraform
Raw Permalink Normal View History

2024-12-04 16:30:49 +01:00
variable "project_name" {
description = "nom du projet"
type = string
default = "projet-vertu"
}
variable "region" {
description = "region"
type = string
default = "europe-west4"
}
variable "frontend_cidr" {
description = "sous réseau frontend"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "sous réseau backend"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "sous réseau database"
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
description = "ssh"
type = string
default = "0.0.0.0/0"
2024-12-04 17:21:42 +01:00
}
variable "instance_type" {
description = "Type de machine"
type = string
default = "e2-small"
}
variable "zone" {
description = "zone"
type = string
default = "europe-west4-b"
2024-12-06 15:16:29 +01:00
}
variable "project_id" {
description = "ID du projet GCP"
type = string
default = "projet-vertu"
2024-12-04 16:30:49 +01:00
}