From 01cad1f86ac1ca5f2259e741724ec92fed5ceaeb Mon Sep 17 00:00:00 2001 From: Vallat Date: Fri, 6 Dec 2024 15:29:31 +0100 Subject: [PATCH] compute --- modules/compute/main.tf | 2 +- modules/compute/variables.tf | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/modules/compute/main.tf b/modules/compute/main.tf index 8bbb7fd..793128f 100644 --- a/modules/compute/main.tf +++ b/modules/compute/main.tf @@ -47,7 +47,7 @@ resource "google_compute_instance" "vm-back" { } resource "google_compute_instance" "vm-database" { - name = "vm"-database + name = "vm-database" machine_type = var.instance_type zone = var.zone diff --git a/modules/compute/variables.tf b/modules/compute/variables.tf index 2b5c94a..a369cab 100644 --- a/modules/compute/variables.tf +++ b/modules/compute/variables.tf @@ -9,19 +9,4 @@ variable "zone" { default = "europe-west4-a" } -variable "frontend_cidr" { - description = "front sub id" - type = string -} - -variable "backend_cidr" { - description = "back sub id" - type = string -} - -variable "database_cidr" { - description = "data sub id" - type = string -} -