code: func (n *NodeAbstractResourceInstance) ReferenceableAddrs() []addrs.Referenceable {
  	addr := n.ResourceInstanceAddr()
  	return []addrs.Referenceable{
  		addr.Resource,
  
  		// A resource instance can also be referenced by the address of its
  		// containing resource, so that e.g. a reference to aws_instance.foo
  		// would match both aws_instance.foo[0] and aws_instance.foo[1].
  		addr.ContainingResource().Resource,
  	}
  }
docs: // GraphNodeReferenceable