Skip to content

Commit

Permalink
Add missing fields
Browse files Browse the repository at this point in the history
Signed-off-by: Rob B <github@0x7e.net>
  • Loading branch information
f4nb0y committed Mar 26, 2024
1 parent 7dab487 commit 322de14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vra/resource_cloud_account_vsphere.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,12 @@ func resourceCloudAccountVsphereUpdate(ctx context.Context, d *schema.ResourceDa
WithBody(&models.UpdateCloudAccountVsphereSpecification{
CreateDefaultZones: false,
Description: d.Get("description").(string),
HostName: withString(d.Get("hostname").(string)),
Name: d.Get("name").(string),
Password: d.Get("password").(string),
Regions: regions,
Tags: expandTags(d.Get("tags").(*schema.Set).List()),
Username: d.Get("username").(string),
}))
if err != nil {
return diag.FromErr(err)
Expand Down

0 comments on commit 322de14

Please sign in to comment.