Use Probe's property to lookup loadbalancer_id.
This commit is contained in:
parent
e63d120b57
commit
4a22fa0438
|
@ -156,7 +156,7 @@ func resourceArmLoadBalancerProbeCreate(d *schema.ResourceData, meta interface{}
|
|||
}
|
||||
|
||||
func resourceArmLoadBalancerProbeRead(d *schema.ResourceData, meta interface{}) error {
|
||||
loadBalancer, exists, err := retrieveLoadBalancerById(d.Id(), meta)
|
||||
loadBalancer, exists, err := retrieveLoadBalancerById(d.Get("loadbalancer_id").(string), meta)
|
||||
if err != nil {
|
||||
return errwrap.Wrapf("Error Getting LoadBalancer By ID {{err}}", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue