Azure JSON Parameter File issue

Umang Roy 0 Reputation points
2023-06-28T10:18:09.1366667+00:00

the issue seems to be referencing a parameter within a parameter file is having an issue…

 

User's image

 

 

This is the error we get:

 

##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.

##[error]Details:

##[error]SecurityRuleInvalidAddressPrefix: Security rule /subscriptions/95a9bd9d-3884-4404-a490-7ac0ccbf8915/resourceGroups/hub-network-prd-rg01/providers/Microsoft.Network/networkSecurityGroups/hub-prd-vnet-mgmt-snet-01-tmp-nsg-01/securityRules/Test_GC1 has invalid Address prefix. Value provided: [parameters('BastionPrefix')]

##[error]Check out the troubleshooting guide to see if your issue is addressed: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting

##[error]Task failed while creating or updating the template deployment.

Community Center | Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.