forked from pierront/but3-iac
Partie 1 + moitié partie 2
This commit is contained in:
36
tp-cloud/terraform/modules/compute/variables.tf
Normal file
36
tp-cloud/terraform/modules/compute/variables.tf
Normal file
@@ -0,0 +1,36 @@
|
||||
variable "instance_type" {
|
||||
description = "Type de machine pour les instances Compute Engine"
|
||||
type = string
|
||||
default = "e2-medium"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
description = "Zone GCP où déployer les instances"
|
||||
type = string
|
||||
default = "europe-west1-b"
|
||||
}
|
||||
|
||||
variable "frontend_subnet_id" {
|
||||
description = "ID du sous-réseau frontend"
|
||||
type = string
|
||||
default = ""
|
||||
|
||||
}
|
||||
|
||||
variable "backend_subnet_id" {
|
||||
description = "ID du sous-réseau backend"
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "database_subnet_id" {
|
||||
description = "ID du sous-réseau database"
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "project_id" {
|
||||
description = "ID du projet GCP"
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
Reference in New Issue
Block a user