forked from pierront/but3-iac
network
This commit is contained in:
30
terraform/modules/compute/variables.tf
Normal file
30
terraform/modules/compute/variables.tf
Normal file
@@ -0,0 +1,30 @@
|
||||
variable "instance_type" {
|
||||
description = "Type de machine pour les VM"
|
||||
type = string
|
||||
default = "e2-medium"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
description = "Zone GCP où créer les VM"
|
||||
type = string
|
||||
default = "europe-west1-b"
|
||||
}
|
||||
|
||||
variable "frontend_subnet_id" {
|
||||
description = "ID du sous-réseau frontend"
|
||||
type = string
|
||||
default = "10.0.1.0/24"
|
||||
}
|
||||
|
||||
variable "backend_subnet_id" {
|
||||
description = "ID du sous-réseau backend"
|
||||
type = string
|
||||
default = "10.0.2.0/24"
|
||||
}
|
||||
|
||||
variable "database_subnet_id" {
|
||||
description = "ID du sous-réseau database"
|
||||
type = string
|
||||
default = "10.0.3.0/24"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user