witty-alarm-17249
06/04/2019, 12:34 PMbroad-dog-22463
06/04/2019, 12:35 PMtall-librarian-49374
06/04/2019, 12:38 PMwitty-alarm-17249
06/04/2019, 12:40 PMbroad-dog-22463
06/04/2019, 12:40 PMwitty-alarm-17249
06/04/2019, 12:40 PMbroad-dog-22463
06/04/2019, 12:40 PMdisk_size_gb - (Required) Specifies the size of the data disk in gigabytes.
stocky-spoon-28903
06/04/2019, 12:42 PMwitty-alarm-17249
06/04/2019, 12:42 PMstocky-spoon-28903
06/04/2019, 12:43 PMbroad-dog-22463
06/04/2019, 12:44 PMfunc validateDiskSizeGB(v interface{}, _ string) (warnings []string, errors []error) {
value := v.(int)
if value < 0 || value > 32767 {
errors = append(errors, fmt.Errorf(
"The `disk_size_gb` can only be between 0 and 32767"))
}
return warnings, errors
}
stocky-spoon-28903
06/04/2019, 12:44 PMwitty-alarm-17249
06/04/2019, 12:44 PMerror: Plan apply failed: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="The value '0' of parameter 'dataDisk.diskSizeGB' is out of range. Value '0' must be between '1' and '32767' inclusive." Target="dataDisk.diskSizeGB"
stocky-spoon-28903
06/04/2019, 12:45 PMbroad-dog-22463
06/04/2019, 12:45 PMstocky-spoon-28903
06/04/2019, 12:45 PMwitty-alarm-17249
06/04/2019, 12:49 PMstocky-spoon-28903
06/04/2019, 12:54 PMwitty-alarm-17249
06/04/2019, 12:54 PMstocky-spoon-28903
06/04/2019, 12:55 PMwitty-alarm-17249
06/04/2019, 12:55 PMstorageImageReference: {
id: "/subscriptions/......"
},
stocky-spoon-28903
06/04/2019, 1:00 PMbroad-dog-22463
06/04/2019, 1:01 PMstocky-spoon-28903
06/04/2019, 1:08 PMpulumi-azure
with the summary so far and I’ll investigate when I land?witty-alarm-17249
06/04/2019, 1:14 PMunless, you are using an Image
that's itbroad-dog-22463
06/04/2019, 1:14 PMwitty-alarm-17249
06/04/2019, 1:15 PM