Describe the bug
wrong parameter name in the readme.md of the Microsoft.Compute/virtualMachines
To reproduce
subnetID: should be changed to subnetResourceId
Code snippet
"nicConfigurations": {
"value": [
{
"nicSuffix": "-nic-01",
"deleteOption": "Delete", // Optional. Can be 'Delete' or 'Detach'
"ipConfigurations": [
{
"name": "ipconfig1",
"subnetId": "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/virtualNetworks/<vNetName>/subnets/<subnetName>",
"pipConfiguration": {
"publicIpNameSuffix": "-pip-01",
"roleAssignments": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"<principalId>"
]
}
]
}
Relevant log output
az deployment sub create -c --location westeurope --template-file deploy.bicep --parameters @(".test/parameters.json") in pwsh at 16:02:16
C:\Users\olivergulich\GitHub\CARML-ChrisS\ResourceModules\modules\Microsoft.Compute\virtualMachines\deploy.bicep(446,9) : Warning use-resource-id-functions: If property "id" represents a resource ID, it must use a symbolic resource reference, be a parameter or start with one of these functions: extensionResourceId, guid, if, reference, resourceId, subscription, subscriptionResourceId, tenantResourceId. [https://aka.ms/bicep/linter/use-resource-id-functions]
Describe the bug
wrong parameter name in the readme.md of the Microsoft.Compute/virtualMachines
To reproduce
subnetID: should be changed to subnetResourceId
Code snippet
Relevant log output