Merge branch 'master' of https://github.com/ckarlsen84/terraform into ckarlsen84-master

This commit is contained in:
stack72 2016-12-05 14:23:26 +00:00
commit f7aea2f447
No known key found for this signature in database
GPG Key ID: 8619A619B085CB16

View File

@ -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