update dev

This commit is contained in:
Come THURET 2024-12-06 14:53:40 +01:00
parent 3a5a78ead7
commit 4f4c99a8f8
2 changed files with 3 additions and 21 deletions

View File

@ -27,9 +27,9 @@ module "network"{
module "compute"{ module "compute"{
source = "../../modules/compute" source = "../../modules/compute"
tp07-frontend = var.tp07-frontend tp07-frontend = module.network.subnets_ids["frontend"]
tp07-backend = var.tp07-backend tp07-backend = module.network.subnets_ids["backend"]
tp07-database = var.tp07-database tp07-database = module.network.subnets_ids["database"]
zone = var.zone zone = var.zone
instance_type = var.instance_type instance_type = var.instance_type
} }

View File

@ -40,24 +40,6 @@ variable "ssh_source_ranges"{
default = "0.0.0.0/0" default = "0.0.0.0/0"
} }
variable "tp07-frontend"{
description = "sous réseau frontend"
type = string
default = "tp07-frontend"
}
variable "tp07-backend"{
description = "sous réseau backend"
type = string
default = "tp07-backend"
}
variable "tp07-database"{
description = "sous réseau database"
type = string
default = "tp07-database"
}
variable "zone"{ variable "zone"{
description = "region du projet" description = "region du projet"
type = string type = string