forked from pierront/but3-iac
network
This commit is contained in:
26
terraform/modules/compute/variables.tf
Normal file
26
terraform/modules/compute/variables.tf
Normal file
@@ -0,0 +1,26 @@
|
||||
variable "instance_type" {
|
||||
description = "Type de machine pour les instances (ex: e2-medium)"
|
||||
type = string
|
||||
default = "e2-small"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
description = "Zone GCP où déployer les instances"
|
||||
type = string
|
||||
default = "us-central1"
|
||||
}
|
||||
|
||||
variable "frontend_subnet_id" {
|
||||
description = "ID du sous-réseau frontend"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "backend_subnet_id" {
|
||||
description = "ID du sous-réseau backend"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "database_subnet_id" {
|
||||
description = "ID du sous-réseau database"
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user