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

47 lines
891 B
Terraform
Raw Permalink 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 16:19:17 +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 16:31:21 +01:00
description = "projet id"
2024-12-04 16:23:27 +01:00
type = string
2024-12-06 16:19:17 +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 16:31:21 +01:00
description = "Region"
2024-12-04 16:11:43 +01:00
type = string
2024-12-06 16:31:21 +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 16:31:21 +01:00
description = "cidr du db"
2024-12-04 16:11:43 +01:00
type = string
default = "10.0.3.0/24"
}
variable "ssh_source_ranges" {
2024-12-06 16:31:21 +01:00
description = "ssh"
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
}