Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | } | ... | ... |
-
Please register or login to post a comment