diff --git a/ibm/service/vpc/resource_ibm_is_lb_pool_member.go b/ibm/service/vpc/resource_ibm_is_lb_pool_member.go index 02d1edf43b..cde8f6c29b 100644 --- a/ibm/service/vpc/resource_ibm_is_lb_pool_member.go +++ b/ibm/service/vpc/resource_ibm_is_lb_pool_member.go @@ -333,7 +333,9 @@ func lbpmemberGet(d *schema.ResourceData, meta interface{}, lbID, lbPoolID, lbPo if target.ID != nil { d.Set(isLBPoolMemberTargetID, *target.ID) } - d.Set(isLBPoolMemberWeight, *lbPoolMem.Weight) + if lbPoolMem.Weight != nil { + d.Set(isLBPoolMemberWeight, *lbPoolMem.Weight) + } d.Set(isLBPoolMemberProvisioningStatus, *lbPoolMem.ProvisioningStatus) d.Set(isLBPoolMemberHealth, *lbPoolMem.Health) d.Set(isLBPoolMemberHref, *lbPoolMem.Href)