Skip to content

Commit

Permalink
Copy compute instance description to terraform state (#990)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and paddycarver committed Aug 12, 2019
1 parent c90c55e commit c3778e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions google-beta/resource_compute_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ func resourceComputeInstanceRead(d *schema.ResourceData, meta interface{}) error
d.Set("project", project)
d.Set("zone", GetResourceNameFromSelfLink(instance.Zone))
d.Set("name", instance.Name)
d.Set("description", instance.Description)
d.Set("hostname", instance.Hostname)
d.SetId(instance.Name)

Expand Down

0 comments on commit c3778e4

Please sign in to comment.