ktgit/lein-elastic-beanstalk — pull request #3 by jhosteny (2013-12-31 18:57:36+00:00)
Title: Make it easy to launch into an existing VPC

It is somewhat of a pain to launch an app into a VPC, as you need to know the physical resource IDs to reference, and as far as I can tell the tools don't offer support for this through .ebextensions in any convenient way (e.g., via a Ref). It's not a big deal if you have a stable stack, but I find that I destroy / recreate mine during development a lot and it becomes a pain to lookup all of the physical IDs and re-enter everything into the option settings config file.

I'll be attaching a pull request for a small change that I made that makes this much easier. Basically, it creates a class of options in the project.clj file under the :stack key. All of the options specified in the hash under this key are then looked up, from the given stack, by logical ID, and inserted into the create environment request with the appropriate keys / physical ID values. There is an example in the README.

If this seems useful, but you'd like something changed, let me know and I'm glad to rework it.

Thanks!