Closed DahlPatric closed 6 months ago
bigIpImage is passed to the nested bigip.json template as image, so they are the same.
The bigIpImage parameter must contain the string "microsoft.compute" else the index error is thrown. It looks like this is a bug in the template since the URN does not contain that string. For now you need to provide the image ID, it will be in this format: /subscriptions/
Uploaded custom F5 image to Azure Gallery and used ID /subscriptions//resourceGroups//providers/Microsoft.Compute/galleries//images/f5-network/versions/6.1.4 and deployment of F5 machine started.
Describe the bug
Script give us error message as below and need assistant to figure out why?
Deployment template validation failed: 'The template variable 'skuToUse' is not valid: The language expression property array index '2' is out of bounds..
RAW error message:
"additionalInfo": [ { "type": "TemplateViolation", "info": { "lineNumber": 391, "linePosition": 88, "path": "variables.skuToUse" } } ]
What I notice
In /examples/failover/azuredeploy-existing-network.parameters.json there is a parameter with name bigIpImage what I'm now reference to my custom image uploaded to Storage Account. Same time a also see in examples/modules/bigip-standalone/bigip.parameters.json another similar parameter also some reference to F5 image but with name parameter name image.
Which one of those take precedence?
Another doubt I have is what syntax to use to reference custom image? Image is uploaded to Storage Account. "There are two acceptable formats: Enter the URN of the image to use in Azure marketplace, or enter the ID of the custom image". I only find a HTTP URL to my image but I assume ID is something else?