48 lines
913 B
Terraform
48 lines
913 B
Terraform
|
variable "project_id" {
|
||
|
description = "ID du projet GCP"
|
||
|
type = string
|
||
|
default = "radiant-pen-442314-f9"
|
||
|
}
|
||
|
|
||
|
variable "project_name" {
|
||
|
description = "nom_du_projet"
|
||
|
type = string
|
||
|
default = "My Project 91685"
|
||
|
}
|
||
|
|
||
|
variable "region" {
|
||
|
description = "region"
|
||
|
type = string
|
||
|
default = "europe-west4"
|
||
|
}
|
||
|
|
||
|
variable "frontend_cidr" {
|
||
|
description = "range_front"
|
||
|
type = string
|
||
|
default = "10.0.1.0/24"
|
||
|
}
|
||
|
|
||
|
variable "backend_cidr" {
|
||
|
description = "range_back"
|
||
|
type = string
|
||
|
default = "10.0.2.0/24"
|
||
|
}
|
||
|
|
||
|
variable "database_cidr" {
|
||
|
description = "range_database"
|
||
|
type = string
|
||
|
default = "10.0.3.0/24"
|
||
|
}
|
||
|
|
||
|
variable "ssh_source_ranges" {
|
||
|
description = "range_ssh"
|
||
|
type = string
|
||
|
default = "0.0.0.0/0"
|
||
|
}
|
||
|
|
||
|
variable "http_source_ranges" {
|
||
|
description = "range_http"
|
||
|
type = string
|
||
|
default = "0.0.0.0/0"
|
||
|
}
|