Skip to content

Commit

Permalink
Synapse firewall deployment change
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneochotny committed Dec 1, 2021
1 parent db5dc9a commit 87a97d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploySynapse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ sqlcmd -U ${synapseAnalyticsSQLAdmin} -P ${synapseAnalyticsSQLAdminPassword} -S
if [ "$privateEndpointsEnabled" == "true" ]; then
echo "Restoring firewall rules..."
az storage account update --name ${datalakeName} --resource-group ${resourceGroup} --default-action Deny --only-show-errors -o none
az resource update --name ${synapseAnalyticsWorkspaceName} --resource-group ${resourceGroup} --resource-type Microsoft.Synapse/workspaces --set Properties.publicNetworkAccess="Disabled" --only-show-errors -o none
az synapse workspace firewall-rule delete --name AllowAllWindowsAzureIps --resource-group ${resourceGroup} --workspace-name ${synapseAnalyticsWorkspaceName} --only-show-errors -o none --yes
az resource update --name ${synapseAnalyticsWorkspaceName} --resource-group ${resourceGroup} --resource-type Microsoft.Synapse/workspaces --set Properties.publicNetworkAccess="Disabled" --only-show-errors -o none
fi

echo "Deployment complete!"
Expand Down

0 comments on commit 87a97d1

Please sign in to comment.