mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
Merge branch 'master' of https://github.com/ckarlsen84/terraform into ckarlsen84-master
This commit is contained in:
commit
f7aea2f447
@ -198,7 +198,7 @@ func resourceArmVirtualMachine() *schema.Resource {
|
||||
|
||||
"disk_size_gb": {
|
||||
Type: schema.TypeInt,
|
||||
Required: true,
|
||||
Optional: true,
|
||||
ValidateFunc: validateDiskSizeGB,
|
||||
},
|
||||
|
||||
@ -849,7 +849,9 @@ func flattenAzureRmVirtualMachineDataDisk(disks *[]compute.DataDisk) interface{}
|
||||
l["name"] = *disk.Name
|
||||
l["vhd_uri"] = *disk.Vhd.URI
|
||||
l["create_option"] = disk.CreateOption
|
||||
l["disk_size_gb"] = *disk.DiskSizeGB
|
||||
if disk.DiskSizeGB != nil {
|
||||
l["disk_size_gb"] = *disk.DiskSizeGB
|
||||
}
|
||||
l["lun"] = *disk.Lun
|
||||
|
||||
result[i] = l
|
||||
|
Loading…
Reference in New Issue
Block a user