lein-beanstalk
lein-beanstalk copied to clipboard
Placing AWS credentials in ~/.lein/profile.clj doesn't work with Leiningen 2.0.0-preview10
I use lein-beanstalk in my project by putting the following in my project.clj:
:plugins [[lein-beanstalk "0.2.6"]]
I then edit ~/.lein/profile.clj to contain my AWS credentials, as advised by the README:
{:user
{:aws {:access-key "xxx"
:secret-key "xxx"}}}
I then run lein beanstalk deploy development but get this error:
No credentials found; please add to ~/.lein/init.clj: (def lein-beanstalk-credentials {:access-key "XXX" :secret-key "YYY"})
If I run lein version, I see Leiningen 2.0.0-preview10 on Java 1.6.0_35 Java HotSpot(TM) 64-Bit Server VM. This was installed via Homebrew on Mac OS X Lion.
What am I doing wrong? Or is the README not up-to-date? Thanks!
It's a typo in the README - it should be ~/.lein/profiles.clj with an "s". I'll fix it soon.
Perfect. Thanks for the quick reply!