diff --git a/tp-cloud/terraform/modules/compute/main.tf b/tp-cloud/terraform/modules/compute/main.tf index c92a231..ef7291c 100644 --- a/tp-cloud/terraform/modules/compute/main.tf +++ b/tp-cloud/terraform/modules/compute/main.tf @@ -1,5 +1,5 @@ resource "google_compute_instance" "frontend" { - name = "ma-vm frontend" + name = "ma_vm_frontend" machine_type = var.instance_type zone = var.zone @@ -23,7 +23,7 @@ resource "google_compute_instance" "frontend" { } resource "google_compute_instance" "backend" { - name = "ma-vm backend" + name = "ma_vm_backend" machine_type = var.instance_type zone = var.zone @@ -46,7 +46,7 @@ resource "google_compute_instance" "backend" { } resource "google_compute_instance" "database" { - name = "ma-vm database" + name = "ma_vm_database" machine_type = var.instance_type zone = var.zone