tp_cloud/terraform/modules/network/variables.tf

42 lines
871 B
Terraform
Raw Permalink Normal View History

variable "project_name" {
description = "Google Cloud Project Name"
type = string
default = "projet-iut-44231"
}
variable "region" {
description = "Google Cloud Region"
type = string
default = "europe-west1"
}
variable "frontend_cidr" {
description = "Frontend subnetwork CIDR"
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
description = "Backend subnetwork CIDR"
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
description = "Database subnetwork CIDR"
type = string
default = "10.0.3.0/24"
}
2024-12-06 16:54:49 +01:00
variable "web_source_ranges" {
description = "Web allowed ip ranges"
type = string
default = "0.0.0.0/0"
}
variable "ssh_source_ranges" {
description = "SSH allowed ip ranges"
type = string
default = "0.0.0.0/0"
}