I have a Rails app that I am hosting on Heroku, and hosting images on a Amazon S3. I am trying to add my Amazon credentials to my app using:
heroku config:add aws_access_key:<your access key> aws_secret_key:<your secret key>
I keep getting the error:
zsh: parse error near `\n'
I have no idea what the problem is.
I have the same error, and resolved it . because I type like this
$ heroku config:set AWS_SECRET_KEY=<A2D3F4H5A6D7HJ8KHF9>
then got the error. change like That:
$ heroku config:set AWS_SECRET_KEY=A2D3F4H5A6D7HJ8KHF9
success
I was facing the same error while trying to do a commit in GitHub. Turns out, <> are reserved, so of course I could NOT name anything within them. Posting this for SEO purposes for whoever faces the same issue in GitHub.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With