tp_cloud/terraform/environments/dev/variables.tf

72 lines
1.4 KiB
Terraform
Raw Normal View History

variable "project_name" {
description = "Project Name"
type = string
default = "projet-iut-442314"
}
variable "project_id" {
description = "Project ID"
type = string
default = "projet-iut-442314"
}
variable "region" {
description = "Project Region"
type = string
default = "europe-west1"
}
variable "frontend_cidr" {
2024-12-06 16:54:49 +01:00
description = "Frontend subnet CIDR"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
2024-12-06 16:54:49 +01:00
description = "Backend subnet CIDR"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
2024-12-06 16:54:49 +01:00
description = "Database subnet CIDR"
type = string
default = "10.0.3.0/24"
}
2024-12-06 16:54:49 +01:00
variable "ssh_source_ranges" {
description = "SSH allowed ip ranges"
type = string
default = "0.0.0.0/0"
}
variable "instance_type" {
description = "GCP Instance type"
type = string
default = "e2-small"
}
variable "zone" {
description = "GCP zone"
type = string
default = "europe-west1-b"
}
variable "frontend_subnet_id" {
description = "Frontend subnet ID"
type = string
default = "frontend"
}
variable "backend_subnet_id" {
description = "Backend subnet ID"
type = string
default = "backend"
}
variable "database_subnet_id" {
description = "Database subnet ID"
type = string
default = "database"
}