Skip to content

Commit

Permalink
Fix: Added missing parameter to static_ip resource (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr authored Oct 19, 2022
1 parent 1d08182 commit 616ddcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zia/data_source_zia_traffic_forwarding_static_ips.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ func dataSourceTrafficForwardingStaticIP() *schema.Resource {
},
},
"comment": {
Type: schema.TypeString,
Computed: true,
Type: schema.TypeString,
Optional: true,
Description: "Additional information about this static IP address",
},
},
}
Expand Down
1 change: 1 addition & 0 deletions zia/resource_zia_traffic_forwarding_static_ips.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func resourceTrafficForwardingStaticIPRead(d *schema.ResourceData, m interface{}
_ = d.Set("latitude", resp.Latitude)
_ = d.Set("longitude", resp.Longitude)
_ = d.Set("routable_ip", resp.RoutableIP)
_ = d.Set("comment", resp.Comment)

if err := d.Set("managed_by", flattenStaticManagedBy(resp.ManagedBy)); err != nil {
return err
Expand Down

0 comments on commit 616ddcb

Please sign in to comment.