Skip to content

Commit

Permalink
Remove no longer needed parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nwnt committed Jun 13, 2024
1 parent 82c8673 commit f547886
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions pkg/deploy/assets/gateway-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@
"tags": {},
"apiVersion": "2020-12-01",
"dependsOn": [
"[resourceId('Microsoft.Network/loadBalancers', 'gateway-lb-internal')]",
"[resourceId('Microsoft.Storage/storageAccounts', substring(parameters('gatewayStorageAccountDomain'), 0, indexOf(parameters('gatewayStorageAccountDomain'), '.')))]"
"[resourceId('Microsoft.Network/loadBalancers', 'gateway-lb-internal')]"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions pkg/deploy/assets/rp-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@
"apiVersion": "2020-12-01",
"dependsOn": [
"[resourceId('Microsoft.Authorization/roleAssignments', guid(resourceGroup().id, parameters('rpServicePrincipalId'), 'RP / Reader'))]",
"[resourceId('Microsoft.Network/loadBalancers', 'rp-lb')]",
"[resourceId('Microsoft.Storage/storageAccounts', substring(parameters('storageAccountDomain'), 0, indexOf(parameters('storageAccountDomain'), '.')))]"
"[resourceId('Microsoft.Network/loadBalancers', 'rp-lb')]"
]
},
{
Expand Down
1 change: 0 additions & 1 deletion pkg/deploy/generator/resources_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ func (g *generator) gatewayVMSS() *arm.Resource {
APIVersion: azureclient.APIVersion("Microsoft.Compute"),
DependsOn: []string{
"[resourceId('Microsoft.Network/loadBalancers', 'gateway-lb-internal')]",
"[resourceId('Microsoft.Storage/storageAccounts', substring(parameters('gatewayStorageAccountDomain'), 0, indexOf(parameters('gatewayStorageAccountDomain'), '.')))]",
},
}
}
Expand Down
1 change: 0 additions & 1 deletion pkg/deploy/generator/resources_rp.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ func (g *generator) rpVMSS() *arm.Resource {
DependsOn: []string{
"[resourceId('Microsoft.Authorization/roleAssignments', guid(resourceGroup().id, parameters('rpServicePrincipalId'), 'RP / Reader'))]",
"[resourceId('Microsoft.Network/loadBalancers', 'rp-lb')]",
"[resourceId('Microsoft.Storage/storageAccounts', substring(parameters('storageAccountDomain'), 0, indexOf(parameters('storageAccountDomain'), '.')))]",
},
}
}
Expand Down

0 comments on commit f547886

Please sign in to comment.