DEV5.6TP7/tp-cloud/terraform/environments/dev/variables.tf

47 lines
926 B
Terraform
Raw Normal View History

2024-12-04 16:11:43 +01:00
variable "project_name" {
2024-12-06 15:17:20 +01:00
description = "Nom du projet"
2024-12-04 16:11:43 +01:00
type = string
2024-12-06 15:32:14 +01:00
default = "newtp-443913"
2024-12-04 16:11:43 +01:00
}
2024-12-04 16:23:27 +01:00
variable "project_id" {
2024-12-06 15:17:20 +01:00
description = "ID du projet"
2024-12-04 16:23:27 +01:00
type = string
2024-12-06 15:32:14 +01:00
default = "newtp-443913"
2024-12-04 16:23:27 +01:00
}
2024-12-04 16:11:43 +01:00
variable "region" {
2024-12-06 15:17:20 +01:00
description = "Région du projet"
2024-12-04 16:11:43 +01:00
type = string
2024-12-06 15:29:14 +01:00
default = "europe-west9"
2024-12-04 16:11:43 +01:00
}
variable "frontend_cidr" {
2024-12-06 15:17:20 +01:00
description = "cidr du frontend"
2024-12-04 16:11:43 +01:00
type = string
default = "10.0.1.0/24"
}
variable "backend_cidr" {
2024-12-06 15:17:20 +01:00
description = "cidr du backend"
2024-12-04 16:11:43 +01:00
type = string
default = "10.0.2.0/24"
}
variable "database_cidr" {
2024-12-06 15:17:20 +01:00
description = "cidr du database"
2024-12-04 16:11:43 +01:00
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
2024-12-06 15:17:20 +01:00
description = "Accès à internet"
2024-12-04 16:11:43 +01:00
type = string
default = "0.0.0.0/0"
}
variable "cidr_range" {
2024-12-06 15:17:20 +01:00
description = "cidr de network"
2024-12-04 16:11:43 +01:00
type = string
default = "10.0.0.0/16"
2024-12-06 15:17:20 +01:00
}