Skip to content

Commit

Permalink
update test to validation optional
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Sep 20, 2018
1 parent 99f66d2 commit 461eb96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions azurerm/resource_arm_virtual_machine_scale_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -1828,14 +1828,12 @@ func expandAzureRmVirtualMachineScaleSetOsProfileLinuxConfig(d *schema.ResourceD
})
}

config := &compute.LinuxConfiguration{
return &compute.LinuxConfiguration{
DisablePasswordAuthentication: &disablePasswordAuth,
SSH: &compute.SSHConfiguration{
PublicKeys: &sshPublicKeys,
},
}

return config
}

func expandAzureRmVirtualMachineScaleSetOsProfileWindowsConfig(d *schema.ResourceData) (*compute.WindowsConfiguration, error) {
Expand Down
1 change: 0 additions & 1 deletion azurerm/resource_arm_virtual_machine_scale_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2168,7 +2168,6 @@ resource "azurerm_virtual_machine_scale_set" "test" {
os_profile {
computer_name_prefix = "prefix"
admin_username = "ubuntu"
admin_password = "password"
custom_data = "custom data!"
}
Expand Down

0 comments on commit 461eb96

Please sign in to comment.