We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following Bicep;
` var referenceImage = { windows: { publisher: 'MicrosoftWindowsServer' offer: 'WindowsServer' sku: '2019-Datacenter' version: 'latest' VMsize: 'Standard_D4s_v3' } }
. . .
resource ImageReferenceVM 'Microsoft.Compute/virtualMachines@2022-08-01' = { name: 'prdaueimagevm01' location: location properties: { hardwareProfile: { vmSize: referenceImage.windows.VMsize } osProfile: { computerName: 'prdaueimagevm01' adminUsername: vmAdminUsername adminPassword: vmAdminPassword } storageProfile: { imageReference: { publisher: referenceImage.windows.publisher offer: referenceImage.windows.offer sku: referenceImage.windows.sku version: referenceImage.windows.version } osDisk: { createOption: 'FromImage' managedDisk: { storageAccountType: 'StandardSSD_LRS' } `
Raises an error with the latest arm-ttk (0.22) that
VM Size for resourceType ' ' named ' ' must be a parameter
The text was updated successfully, but these errors were encountered:
@GeordieGuy could you provide your full template Bicep AND full ARM template here so that we can test with them? Thanks :)
Sorry, something went wrong.
No branches or pull requests
The following Bicep;
`
var referenceImage = {
windows: {
publisher: 'MicrosoftWindowsServer'
offer: 'WindowsServer'
sku: '2019-Datacenter'
version: 'latest'
VMsize: 'Standard_D4s_v3'
}
}
.
.
.
resource ImageReferenceVM 'Microsoft.Compute/virtualMachines@2022-08-01' = {
name: 'prdaueimagevm01'
location: location
properties: {
hardwareProfile: {
vmSize: referenceImage.windows.VMsize
}
osProfile: {
computerName: 'prdaueimagevm01'
adminUsername: vmAdminUsername
adminPassword: vmAdminPassword
}
storageProfile: {
imageReference: {
publisher: referenceImage.windows.publisher
offer: referenceImage.windows.offer
sku: referenceImage.windows.sku
version: referenceImage.windows.version
}
osDisk: {
createOption: 'FromImage'
managedDisk: {
storageAccountType: 'StandardSSD_LRS'
}
`
Raises an error with the latest arm-ttk (0.22) that
VM Size for resourceType ' ' named ' ' must be a parameter
The text was updated successfully, but these errors were encountered: