lein-beanstalk icon indicating copy to clipboard operation
lein-beanstalk copied to clipboard

Placing AWS credentials in ~/.lein/profile.clj doesn't work with Leiningen 2.0.0-preview10

Open clizzin opened this issue 13 years ago • 2 comments

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!

clizzin avatar Nov 17 '12 22:11 clizzin

It's a typo in the README - it should be ~/.lein/profiles.clj with an "s". I'll fix it soon.

weavejester avatar Nov 17 '12 23:11 weavejester

Perfect. Thanks for the quick reply!

clizzin avatar Nov 18 '12 01:11 clizzin