Skip to content

Commit 322de14

Browse files
committed
Add missing fields
Signed-off-by: Rob B <[email protected]>
1 parent 7dab487 commit 322de14

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)