t
This commit is contained in:
parent
a8cddb7868
commit
7a4925cc7b
@ -38,13 +38,6 @@ module "iam" {
|
|||||||
module "compute" {
|
module "compute" {
|
||||||
source = "../../modules/compute"
|
source = "../../modules/compute"
|
||||||
|
|
||||||
# Variables d'entrée
|
|
||||||
instance-type = "e2-micro"
|
|
||||||
zone = "europe-west4-a"
|
|
||||||
|
|
||||||
# Autres variables spécifiques au module
|
|
||||||
frontend_subnet_id = module.network.id_subnetwork["frontend"]
|
|
||||||
backend_subnet_id = module.network.id_subnetwork["backend"]
|
|
||||||
database_subnet_id = module.network.id_subnetwork["databse"]
|
|
||||||
|
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
variable "instance_type" {
|
variable "instance_type" {
|
||||||
description = "type d'instance"
|
description = "type d'instance"
|
||||||
type = string
|
type = string
|
||||||
default = "e2-micro"
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "zone" {
|
variable "zone" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user