provider/azurerm: arm_virtual_machine panic fix
This commit is contained in:
parent
b75b839b2c
commit
8bd20c004b
|
@ -496,7 +496,7 @@ func resourceArmVirtualMachineCreate(d *schema.ResourceData, meta interface{}) e
|
|||
StorageProfile: &storageProfile,
|
||||
}
|
||||
|
||||
if v, ok := d.GetOk(""); ok {
|
||||
if v, ok := d.GetOk("license_type"); ok {
|
||||
license := v.(string)
|
||||
properties.LicenseType = &license
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue