From bb60750a542e6a1618b2fc069d5f2ef75dfce958 Mon Sep 17 00:00:00 2001 From: nikola-naydenov-hmcts <47384516+nikola-naydenov-hmcts@users.noreply.github.com> Date: Fri, 15 Nov 2019 11:44:51 +0000 Subject: [PATCH] Updating with for suggestions (#273) * Updating with for suggestions * Need to escape the dot --- infrastructure/idam-preview.tfvars | 2 +- infrastructure/main.tf | 2 +- infrastructure/variables.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructure/idam-preview.tfvars b/infrastructure/idam-preview.tfvars index beb7e765b..b7e184517 100644 --- a/infrastructure/idam-preview.tfvars +++ b/infrastructure/idam-preview.tfvars @@ -6,4 +6,4 @@ asp_rg_override = "idam-idam-preview" capacity = 1 -strategic_policies_privateIpsFilterPattern = "" \ No newline at end of file +vnet_private_ip_pattern = "10\\.97\\.\\d+\\.\\d+" \ No newline at end of file diff --git a/infrastructure/main.tf b/infrastructure/main.tf index 183a633f7..771dd1a4b 100644 --- a/infrastructure/main.tf +++ b/infrastructure/main.tf @@ -62,6 +62,6 @@ module "idam-web-public" { GA_TRACKING_ID = "${var.ga_tracking_id}" - STRATEGIC_POLICIES_PRIVATEIPSFILTERPATTERN = "${var.strategic_policies_privateIpsFilterPattern}" + STRATEGIC_POLICIES_PRIVATEIPSFILTERPATTERN = "${var.vnet_private_ip_pattern}" } } diff --git a/infrastructure/variables.tf b/infrastructure/variables.tf index 7f83ddae3..1129f7967 100644 --- a/infrastructure/variables.tf +++ b/infrastructure/variables.tf @@ -79,7 +79,7 @@ variable vault_name_override { default = "" } -variable "strategic_policies_privateIpsFilterPattern" { - description = "Private IPs Filter Pattern for Policies Evaluation" +variable "vnet_private_ip_pattern" { + description = "Private VNet IP Filter Pattern for Policies Evaluation" default = "10\\.\\d+\\.\\d+\\.\\d+" } \ No newline at end of file