Matteo Sessa

Include environment at lambda function qualifier

...@@ -37,7 +37,7 @@ class S3EventSource(kappa.event_source.base.EventSource): ...@@ -37,7 +37,7 @@ class S3EventSource(kappa.event_source.base.EventSource):
37 { 37 {
38 'Id': self._make_notification_id(function.name), 38 'Id': self._make_notification_id(function.name),
39 'Events': [e for e in self._config['events']], 39 'Events': [e for e in self._config['events']],
40 - 'LambdaFunctionArn': function.arn, 40 + 'LambdaFunctionArn': '%s:%s' % (function.arn, function._context.environment),
41 } 41 }
42 ] 42 ]
43 } 43 }
......