Skip to content

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

@clizzin

Description

@clizzin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions