From 3e5d70ca4cef92e498961ea418ea4e053c9b9380 Mon Sep 17 00:00:00 2001 From: Pardeep Singh Basi Date: Tue, 25 Feb 2020 15:01:55 +0000 Subject: [PATCH] added new env variable for node config --- infrastructure/main.tf | 1 + infrastructure/variables.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/infrastructure/main.tf b/infrastructure/main.tf index 9f621417d..fe3c01ad6 100644 --- a/infrastructure/main.tf +++ b/infrastructure/main.tf @@ -34,6 +34,7 @@ module "app" { PUI_ENV = "${var.env}" NODE_ENV = "${var.env}" NODE_CONFIG_ENV = "${var.env}" + NODE_CONFIG_DIR = "${var.node_config_dir}" WEBSITE_NODE_DEFAULT_VERSION = "12.13.0" S2S_SECRET = "${data.azurerm_key_vault_secret.s2s_secret.value}" diff --git a/infrastructure/variables.tf b/infrastructure/variables.tf index 6a8297b60..ea396b8ed 100644 --- a/infrastructure/variables.tf +++ b/infrastructure/variables.tf @@ -121,3 +121,8 @@ variable "ao_no_proxy" { variable "app_insights_enabled" { default = "1" } + +variable "node_config_dir" { + // for Windows + default = "D:\\home\\site\\wwwroot\\config" +}