compute
This commit is contained in:
parent
9c4713bcdf
commit
01cad1f86a
@ -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
|
||||||
|
|
||||||
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user