AWS lambda for processing emails recieved for Discourse
Перейти к файлу
Leo McArdle 0a0b7c30ca
add code of conduct
2019-08-27 13:09:28 +01:00
src rust fmt 2019-08-27 13:07:34 +01:00
.gitignore init 2019-08-23 16:43:03 +02:00
CODE_OF_CONDUCT.md add code of conduct 2019-08-27 13:09:28 +01:00
Cargo.lock init 2019-08-23 16:43:03 +02:00
Cargo.toml init 2019-08-23 16:43:03 +02:00
LICENSE add LICENSE 2019-08-27 13:00:58 +01:00
README.md use env vars 2019-08-27 12:44:38 +01:00

README.md

discourse-email-in-lambda

Setting up

This lambda takes 4 environment variables:

  • DISCOURSE_EMAIL_IN_BUCKET: name of s3 bucket raw emails are placed in
  • DISCOURSE_URL: base url of Discourse, without a trailing slash, eg: "https://discourse.mozilla.org"
  • DISCOURSE_API_KEY
  • DISCOURSE_API_USERNAME