mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: GCP - Added zone dependency becasue its required
parent
2806cbcf8b
commit
c7f73e36eb
|
|
@ -96,6 +96,7 @@ locals {
|
|||
resource "google_compute_instance" "openvidu_server" {
|
||||
name = lower("${var.stackName}-vm-ce")
|
||||
machine_type = var.instanceType
|
||||
zone = var.zone
|
||||
|
||||
tags = [lower("${var.stackName}-vm-ce")]
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,12 @@ variable "region" {
|
|||
default = "europe-west1"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
description = "GCP zone that some resources will use."
|
||||
type = string
|
||||
default = "europe-west1-b"
|
||||
}
|
||||
|
||||
variable "stackName" {
|
||||
description = "Stack name for OpenVidu deployment."
|
||||
type = string
|
||||
|
|
|
|||
|
|
@ -15,5 +15,6 @@ terraform {
|
|||
provider "google" {
|
||||
project = var.projectId
|
||||
region = var.region
|
||||
zone = var.zone
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue