diff --git a/environments/dev/main.tf b/environments/dev/main.tf index 0384016..79d4e5f 100644 --- a/environments/dev/main.tf +++ b/environments/dev/main.tf @@ -38,13 +38,6 @@ module "iam" { module "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"] + } \ No newline at end of file diff --git a/modules/compute/variables.tf b/modules/compute/variables.tf index dc3c944..6aa61f6 100644 --- a/modules/compute/variables.tf +++ b/modules/compute/variables.tf @@ -1,7 +1,7 @@ variable "instance_type" { description = "type d'instance" type = string - default = "e2-micro" + default = "" } variable "zone" {