code: func (c *Changes) ResourceInstance(addr addrs.AbsResourceInstance) *ResourceInstanceChangeSrc {
  	addrStr := addr.String()
  	for _, rc := range c.Resources {
  		if rc.Addr.String() == addrStr && rc.DeposedKey == states.NotDeposed {
  			return rc
  		}
  	}
  
  	return nil
  }
docs: // ResourceInstance returns the planned change for the current object of the
  // resource instance of the given address, if any. Returns nil if no change is
  // planned.