mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-19 01:44:18 +00:00
bugfix: sns notifications do not require aws secrets in the env
This commit is contained in:
1 parent
dc92f75529
commit
05ae2c6039
1 file changed
+1
-2
@@ -18,8 +18,7 @@ module.exports = (logger) => {
|
||||
// listen for SNS lifecycle changes
|
||||
let lifecycleEmitter = new Emitter();
|
||||
let dryUpCalls = false;
|
||||
if (process.env.AWS_SNS_TOPIC_ARM &&
|
||||
process.env.AWS_ACCESS_KEY_ID && process.env.AWS_SECRET_ACCESS_KEY && process.env.AWS_REGION) {
|
||||
if (process.env.AWS_SNS_TOPIC_ARM && process.env.AWS_REGION) {
|
||||
|
||||
(async function() {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user