You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kinesis Event Source add function is not working as expected. When deploying the first time the function works fine. On subsequent deployments the exception is thrown:
-> Unable to add event source Traceback (most recent call last): File "/Library/Python/2.7/site-packages/kappa/event_source/kinesis.py", line 49, in add Enabled=self.enabled File "/Library/Python/2.7/site-packages/kappa/awsclient.py", line 86, in call data = op(**kwargs) File "/Library/Python/2.7/site-packages/botocore/client.py", line 253, in _api_call return self._make_api_call(operation_name, kwargs) File "/Library/Python/2.7/site-packages/botocore/client.py", line 557, in _make_api_call raise error_class(parsed_response, operation_name) ResourceConflictException: An error occurred (ResourceConflictException) when calling the CreateEventSourceMapping operation: The event source arn (<arn>) and function (<function>) provided mapping already exists. Please update or delete the existing mapping with UUID <UUID> done
This can be avoided by checking to see if the mapping exists first (list_event_source_mappings) and then calling either create_event_source_mapping or update_event_source_mapping based on the response.
The text was updated successfully, but these errors were encountered:
The Kinesis Event Source add function is not working as expected. When deploying the first time the function works fine. On subsequent deployments the exception is thrown:
-> Unable to add event source Traceback (most recent call last): File "/Library/Python/2.7/site-packages/kappa/event_source/kinesis.py", line 49, in add Enabled=self.enabled File "/Library/Python/2.7/site-packages/kappa/awsclient.py", line 86, in call data = op(**kwargs) File "/Library/Python/2.7/site-packages/botocore/client.py", line 253, in _api_call return self._make_api_call(operation_name, kwargs) File "/Library/Python/2.7/site-packages/botocore/client.py", line 557, in _make_api_call raise error_class(parsed_response, operation_name) ResourceConflictException: An error occurred (ResourceConflictException) when calling the CreateEventSourceMapping operation: The event source arn (<arn>) and function (<function>) provided mapping already exists. Please update or delete the existing mapping with UUID <UUID> done
This can be avoided by checking to see if the mapping exists first (list_event_source_mappings) and then calling either create_event_source_mapping or update_event_source_mapping based on the response.
The text was updated successfully, but these errors were encountered: