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 -} -