Closed jamiepla1 closed 11 months ago
Hi again @jamiepla1. This issue you have run into is documented in another open issue, with proposed fix and workaround. Please check the comments in this one: https://github.com/Azure/ALZ-Bicep/issues/596
Closing as exact duplicate of #596.
What happened? Provide a clear and concise description of the bug, including deployment details.
I am using the Bicep Accelerator with the following parameter file: \config\custom-parameters\hubNetworking.parameters.all.json
I have set the DDoS parameter to false
"parDdosEnabled": { "value": false
I am using the following yaml file:
\azuredevops\pipelines\alz-bicep-4a-hubspoke.yml
The error is:
New-AzResourceGroupDeployment: /home/vsts/work/1/s/pipeline-scripts/Deploy-ALZHub-HubAndSpoke.ps1:30 Line | 30 | New-AzResourceGroupDeployment @inputObject |
~~~~~~~~~~ | 12:19:43 - The deployment 'alz-Hub-and-SpokeDeploy-20231201T1212078328Z' | failed with error(s). Showing 1 out of 1 error(s). Status Message: | Resource | /subscriptions/MYCONSUBID/resourceGroups/rg-alz-connectivity/providers/Microsoft.Network/ddosProtectionPlans/alz-ddos-plan referenced by resource /subscriptions/MYCONSUBID/resourceGroups/rg-alz-connectivity/providers/Microsoft.Network/virtualNetworks/alz-hub-uksouth was not found. Please make sure that the referenced resource exists. (Code: InvalidGlobalResourceReference) CorrelationId: 83eb5209-3930-4640-8280-3fd92d9ab7dd[error]PowerShell exited with code '1'.
Please provide the correlation id associated with your error or bug.
83eb5209-3930-4640-8280-3fd92d9ab7dd
What was the expected outcome?
Hub and Spoke network to deploy
Relevant log output
Check previous GitHub issues
Code of Conduct