compute
This commit is contained in:
parent
01cad1f86a
commit
d4b45200d8
@ -30,6 +30,9 @@ module "compute" {
|
||||
source = "../../modules/compute"
|
||||
|
||||
# Variables d'entrée
|
||||
sub1 = module.network.subnet["frontend"]
|
||||
sub2 = module.network.subnet["backend"]
|
||||
sub3 = module.network.subnet["database"]
|
||||
|
||||
# Autres variables spécifiques au module
|
||||
zone = var.zone
|
||||
|
@ -51,3 +51,4 @@ variable "zone" {
|
||||
type = string
|
||||
default = "europe-west4-a"
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,20 @@ variable "instance_type" {
|
||||
variable "zone" {
|
||||
description = "zone"
|
||||
type = string
|
||||
default = "europe-west4-a"
|
||||
}
|
||||
|
||||
variable "sub1"{
|
||||
description = "subnet1 frontend"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "sub2"{
|
||||
description = "subnet2 backend"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "sub3"{
|
||||
description = "subnet3 database"
|
||||
type = string
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user