Azure / Azure/azure-quickstart-templates

quickstarts/microsoft.azurestackhci/create-cluster-2-node-switched-custom-storageip failing due to wrong type 'boolean'

Open
#14,129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

[Template Name goes here](Template link goes here)
[azuredeploy.json](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.azurestackhci/create-cluster-2-node-switched-custom-storageip/azuredeploy.json)

### Issue Details
"useDhcp": {
"type": "boolean",
...
is of wrong type it will produce a validation error - it should be "**bool**"

### Repro steps (*if necessary, delete otherwise*)
1. Just try to deploy this template using the custom template deployment dialog in Azure Portal. -> hit create (after adding all parameters) - it will fail and tell you that validation failed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open quickstarts/microsoft.azurestackhci/create-cluster-2-node-switched-custom-storageip/azuredeploy.json and inspect the useDhcp parameter definition. Use the Azure Portal custom template deployment dialog to validate the template with its parameters. Done means the template passes validation without the reported type error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.