spulec/moto — pull request #243 by djmitche (2014-10-24 02:46:21+00:00)
Title: Pass ec2_backend to Instance constructor

This value is used to look up things like nics and subnets in that
backend.

This may be a little more controversial than #242. I imagine that several other Model classes will need this treatment, too, and maybe it should be done universally. I'm open to suggestions to apply this pattern more broadly.