Skip to content

Commit

Permalink
updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
elanzel committed Aug 29, 2024
1 parent 8519089 commit 5d009ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
8 changes: 2 additions & 6 deletions avm/res/synapse/workspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,11 @@ module workspace 'br/public:avm/res/synapse/workspace:<version>' = {
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: '<location>'
Expand Down Expand Up @@ -323,14 +321,12 @@ module workspace 'br/public:avm/res/synapse/workspace:<version>' = {
{
"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"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions avm/res/synapse/workspace/firewall-rules/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
10 changes: 5 additions & 5 deletions avm/res/synapse/workspace/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down
2 changes: 0 additions & 2 deletions avm/res/synapse/workspace/tests/e2e/fwrules/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
]
}
Expand Down

0 comments on commit 5d009ca

Please sign in to comment.