From 51a4cc7fe8c2174a2cc2dee75a95e09a453e58c1 Mon Sep 17 00:00:00 2001 From: cpwevans <25459988+cpwevans@users.noreply.github.com> Date: Tue, 5 Jul 2022 15:39:52 +0100 Subject: [PATCH 1/2] Added WorkerAccessRestrictions parameter and also to the worker app task to enable access restrictions --- azure/accounts.template.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure/accounts.template.json b/azure/accounts.template.json index d868150d55..88f04a538c 100644 --- a/azure/accounts.template.json +++ b/azure/accounts.template.json @@ -98,6 +98,9 @@ "subnetDelegations": { "type": "array" }, + "workerAccessRestrictions": { + "type": "array" + }, "resourceGroupLocation": { "type": "string" }, @@ -512,6 +515,9 @@ }, "deployStagingSlot": { "value": false + }, + "ipSecurityRestrictions": { + "value": "[parameters('workerAccessRestrictions')]" } } }, From 8640a6caf60d4b0dec6927ef25c666e8dfd7ce69 Mon Sep 17 00:00:00 2001 From: cpwevans <25459988+cpwevans@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:04:57 +0100 Subject: [PATCH 2/2] Added WorkerAccessRestrictions parameter and also to the Finance as well as Accounts worker app task to enable access restrictions --- azure/finance.template.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure/finance.template.json b/azure/finance.template.json index a6a339c66e..7eac41c32c 100644 --- a/azure/finance.template.json +++ b/azure/finance.template.json @@ -91,6 +91,9 @@ "subnetDelegations": { "type": "array" }, + "workerAccessRestrictions": { + "type": "array" + }, "resourceGroupLocation": { "type": "string" }, @@ -548,6 +551,9 @@ }, "deployStagingSlot": { "value": false + }, + "ipSecurityRestrictions": { + "value": "[parameters('workerAccessRestrictions')]" } } },