forked from pierront/but3-iac
Partie 1 + moitié partie 2
This commit is contained in:
35
tp-cloud/terraform/modules/network/variables.tf
Normal file
35
tp-cloud/terraform/modules/network/variables.tf
Normal file
@@ -0,0 +1,35 @@
|
||||
variable "project_name" {
|
||||
description = "nom du projet GCP"
|
||||
type = string
|
||||
default = "mon-projet"
|
||||
}
|
||||
|
||||
variable "region" {
|
||||
description = "region de l'instance"
|
||||
type = string
|
||||
default = "europe-west9b"
|
||||
}
|
||||
|
||||
variable "backend_cidr" {
|
||||
description = "cidr du backend"
|
||||
type = string
|
||||
default = "10.0.2.0/24"
|
||||
}
|
||||
|
||||
variable "frontend_cidr" {
|
||||
description = "cidr du frontend"
|
||||
type = string
|
||||
default = "10.0.1.0/24"
|
||||
}
|
||||
|
||||
variable "database_cidr" {
|
||||
description = "cidr de la DB"
|
||||
type = string
|
||||
default = "10.0.3.0/24"
|
||||
}
|
||||
|
||||
variable "ssh_source_ranges" {
|
||||
description = "la range des sources ssh"
|
||||
type = string
|
||||
default = "0.0.0.0/0"
|
||||
}
|
||||
Reference in New Issue
Block a user