Skip to content

Commit 385e5c7

Browse files
authored
Merge pull request #517 from f4nb0y/issues/481
Add missing fields
2 parents 7af96d0 + 322de14 commit 385e5c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vra/resource_cloud_account_vsphere.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,12 @@ func resourceCloudAccountVsphereUpdate(ctx context.Context, d *schema.ResourceDa
232232
WithBody(&models.UpdateCloudAccountVsphereSpecification{
233233
CreateDefaultZones: false,
234234
Description: d.Get("description").(string),
235+
HostName: withString(d.Get("hostname").(string)),
236+
Name: d.Get("name").(string),
237+
Password: d.Get("password").(string),
235238
Regions: regions,
236239
Tags: expandTags(d.Get("tags").(*schema.Set).List()),
240+
Username: d.Get("username").(string),
237241
}))
238242
if err != nil {
239243
return diag.FromErr(err)

0 commit comments

Comments
 (0)