Skip to content

Commit

Permalink
Merge pull request #80 from iserko/s3_lambda_notification
Browse files Browse the repository at this point in the history
LambdaFunctionArn shouldn't be suffixed with the environment in the S3 event source
  • Loading branch information
josegonzalez authored Aug 15, 2016
2 parents 297d4be + 4086df2 commit 62e7754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kappa/event_source/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def add(self, function):
{
'Id': self._make_notification_id(function.name),
'Events': [e for e in self._config['events']],
'LambdaFunctionArn': '%s:%s' % (function.arn, function._context.environment),
'LambdaFunctionArn': function.arn,
}
]
}
Expand Down

0 comments on commit 62e7754

Please sign in to comment.