This commit is contained in:
Guillaume VALLAT 2024-12-06 15:29:31 +01:00
parent 9c4713bcdf
commit 01cad1f86a
2 changed files with 1 additions and 16 deletions

View File

@ -47,7 +47,7 @@ resource "google_compute_instance" "vm-back" {
} }
resource "google_compute_instance" "vm-database" { resource "google_compute_instance" "vm-database" {
name = "vm"-database name = "vm-database"
machine_type = var.instance_type machine_type = var.instance_type
zone = var.zone zone = var.zone

View File

@ -9,19 +9,4 @@ variable "zone" {
default = "europe-west4-a" 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
}