From 5d009caf4b127e3cd0565615eae1fe0e3ed66952 Mon Sep 17 00:00:00 2001 From: Elisa Anzelmo Date: Thu, 29 Aug 2024 09:56:06 +0200 Subject: [PATCH] updated code --- avm/res/synapse/workspace/README.md | 8 ++------ avm/res/synapse/workspace/firewall-rules/main.json | 4 ++-- avm/res/synapse/workspace/main.json | 10 +++++----- .../workspace/tests/e2e/fwrules/main.test.bicep | 2 -- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/avm/res/synapse/workspace/README.md b/avm/res/synapse/workspace/README.md index dffd316253..8ee51f041a 100644 --- a/avm/res/synapse/workspace/README.md +++ b/avm/res/synapse/workspace/README.md @@ -278,13 +278,11 @@ module workspace 'br/public:avm/res/synapse/workspace:' = { endIpAddress: '87.14.134.20' name: 'fwrule01' startIpAddress: '87.14.134.20' - workspaceName: 'swfwr001' } { endIpAddress: '87.14.134.22' name: 'fwrule02' startIpAddress: '87.14.134.21' - workspaceName: 'swfwr001' } ] location: '' @@ -323,14 +321,12 @@ module workspace 'br/public:avm/res/synapse/workspace:' = { { "endIpAddress": "87.14.134.20", "name": "fwrule01", - "startIpAddress": "87.14.134.20", - "workspaceName": "swfwr001" + "startIpAddress": "87.14.134.20" }, { "endIpAddress": "87.14.134.22", "name": "fwrule02", - "startIpAddress": "87.14.134.21", - "workspaceName": "swfwr001" + "startIpAddress": "87.14.134.21" } ] }, diff --git a/avm/res/synapse/workspace/firewall-rules/main.json b/avm/res/synapse/workspace/firewall-rules/main.json index a0cc8228ad..ce7fd0baaa 100644 --- a/avm/res/synapse/workspace/firewall-rules/main.json +++ b/avm/res/synapse/workspace/firewall-rules/main.json @@ -4,8 +4,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.28.1.47646", - "templateHash": "662931178579526673" + "version": "0.29.47.4906", + "templateHash": "6729418057172891787" }, "name": "Synapse Workspaces Firewall Rules", "description": "This module deploys Synapse Workspaces Firewall Rules.", diff --git a/avm/res/synapse/workspace/main.json b/avm/res/synapse/workspace/main.json index 35d6d2a3be..0e2a2b01bb 100644 --- a/avm/res/synapse/workspace/main.json +++ b/avm/res/synapse/workspace/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.29.47.4906", - "templateHash": "16478885411774242991" + "templateHash": "10588705301143818699" }, "name": "Synapse Workspaces", "description": "This module deploys a Synapse Workspace.", @@ -1252,9 +1252,9 @@ "workspace" ] }, - "workspace_firewall_rules": { + "workspace_firewallRules": { "copy": { - "name": "workspace_firewall_rules", + "name": "workspace_firewallRules", "count": "[length(parameters('firewallRules'))]" }, "type": "Microsoft.Resources/deployments", @@ -1285,8 +1285,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.28.1.47646", - "templateHash": "662931178579526673" + "version": "0.29.47.4906", + "templateHash": "6729418057172891787" }, "name": "Synapse Workspaces Firewall Rules", "description": "This module deploys Synapse Workspaces Firewall Rules.", diff --git a/avm/res/synapse/workspace/tests/e2e/fwrules/main.test.bicep b/avm/res/synapse/workspace/tests/e2e/fwrules/main.test.bicep index 6f717501b8..a327e55eea 100644 --- a/avm/res/synapse/workspace/tests/e2e/fwrules/main.test.bicep +++ b/avm/res/synapse/workspace/tests/e2e/fwrules/main.test.bicep @@ -60,13 +60,11 @@ module testDeployment '../../../main.bicep' = [ name: 'fwrule01' endIpAddress: '87.14.134.20' startIpAddress: '87.14.134.20' - workspaceName: '${namePrefix}${serviceShort}001' } { name: 'fwrule02' endIpAddress: '87.14.134.22' startIpAddress: '87.14.134.21' - workspaceName: '${namePrefix}${serviceShort}001' } ] }