sqs-to-lambda icon indicating copy to clipboard operation
sqs-to-lambda copied to clipboard

Feature request: adjust the name based off of AWS_ENVIRONMENT

Open DeviaVir opened this issue 8 years ago • 1 comments

I'm trying to automatically tie this function in with node-lambda, unfortunately they have some logic that automatically appends the AWS_ENVIRONMENT to the FunctionName: https://github.com/motdotla/node-lambda/blob/master/lib/main.js#L71

I didn't see a reason for not doing this with sqs-to-lambda as well, so I've added code that makes this possible. Hopefully it's useful for others as well.

DeviaVir avatar Mar 25 '16 13:03 DeviaVir