-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue deploying to Azure Gov #500
Comments
@Turkeyz thank you for the feedback! Can you add more detail that will help us reproduce the issue? For example, steps to reproduce and/or a pointer to any instructions you were following, and input data you used. |
Hi Brooke - this error is seen when a user navigates the github repo to the Command-Line-Deployment section then clicks the "Deploy" link under the "Deploy with Bicep (recommended)" option block. From here the user clicks the button "Deploy to Azure Gov" which redirects the user to their Az Gov tenant -> custom deployment template for MLZ. This error is seen against the following arears -> Identity Virtual Network Diagnostics Logs, Identity Virtual Network Diagnostics Metrics, Identity Network Security Group Rules, Identity Network Security Group Diagnostics Logs, Identity Network Security Group Diagnostics Metrics, Identity Subnet Service Endpoints, Operations Virtual Network Diagnostics Logs, Operations Virtual Network Diagnostics Metrics, Operations Network Security Group Rules, Operations Network Security Group Diagnostics Logs, Operations Network Security Group Diagnostics Metrics, Operations Subnet Service Endpoints, Shared Services Virtual Network Diagnostics Logs, Shared Services Virtual Network Diagnostics Metrics, Shared Services Network Security Group Rules, Shared Services Network Security Group Diagnostics Logs, Shared Services Network Security Group Diagnostics Metrics, Shared Services Subnet Service Endpoints |
Thanks for the additional info. I will take a look. 💯 |
It appears the custom deployment template doesn't support parsing shared array parameters:
Manually modifying the form value to remove the string Odd behavior given this value is defaulted as an Line 465 in e042e9d
and read from this value, which is also an array: Lines 369 to 373 in e042e9d
but what is generated in the ARM template that the custom deployment uses is a string value: Lines 375 to 378 in 3a7cb05
you can see the value it references is not a string, but starts with Lines 131 to 138 in 3a7cb05
will investigate and propose a fix |
For now we have removed the Azure portal templates from the |
#482 is a similar issue and is being addressed too. |
This bug will be resolved with #482, which is currently in progress. |
I have no idea as i dont know coding, but i am getting this error
"[parameters('hubVirtualNetworkDiagnosticsMetrics')]"
The template has specified this parameter as type 'array', but the default value is specified as type 'string'. This template may not deploy correctly.
Unable to parse value to type 'array'. The value must be a valid JSON array.
how do i resolve this error message
The text was updated successfully, but these errors were encountered: