{"action":"created","issue":{"url":"https://api.github.com/repos/localstack/localstack/issues/326","repository_url":"https://api.github.com/repos/localstack/localstack","labels_url":"https://api.github.com/repos/localstack/localstack/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/localstack/localstack/issues/326/comments","events_url":"https://api.github.com/repos/localstack/localstack/issues/326/events","html_url":"https://github.com/localstack/localstack/issues/326","id":258062310,"number":326,"title":"Create Lambda fails with already exists, but cannot be invoked due to Not Found","user":{"login":"mikebrules","id":562460,"avatar_url":"https://avatars2.githubusercontent.com/u/562460?v=4","gravatar_id":"","url":"https://api.github.com/users/mikebrules","html_url":"https://github.com/mikebrules","followers_url":"https://api.github.com/users/mikebrules/followers","following_url":"https://api.github.com/users/mikebrules/following{/other_user}","gists_url":"https://api.github.com/users/mikebrules/gists{/gist_id}","starred_url":"https://api.github.com/users/mikebrules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikebrules/subscriptions","organizations_url":"https://api.github.com/users/mikebrules/orgs","repos_url":"https://api.github.com/users/mikebrules/repos","events_url":"https://api.github.com/users/mikebrules/events{/privacy}","received_events_url":"https://api.github.com/users/mikebrules/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-15T14:36:21Z","updated_at":"2017-09-18T10:38:45Z","closed_at":"2017-09-18T10:38:45Z","author_association":"NONE","body":"Hello, I cant create a Lambda function. Despite the naming, the request ALWAYS returns already exists; this is after me removing everything from /tmp/localstack and killing the docker container.\r\n\r\nTo reproduce;\r\n\r\n    $ aws lambda list-functions --endpoint http://localhost:4574\r\n    \r\n    {\r\n        \"Functions\": []\r\n    }\r\n\r\n    $ aws lambda create-function \\\r\n\t--function-name ElasticLambda \\\r\n\t--zip-file fileb://EsLambda.zip \\\r\n\t--handler index.handler \\\r\n\t--runtime 'nodejs6.10' \\\r\n\t--endpoint http://localhost:4574 \\\r\n\t--role admin  \r\n\r\n     An error occurred (ResourceConflictException) when calling the CreateFunction operation: \r\n     Function already exist: ElasticLambda\r\n    \r\nBut it _is_ there...\r\n     \r\n    $ aws lambda list-functions --endpoint http://localhost:4574\r\n\r\n     {\r\n         \"Functions\": [\r\n             {\r\n                 \"Version\": \"$LATEST\",\r\n                 \"FunctionName\": \"ElasticLambda\",\r\n                 \"FunctionArn\": \"arn:aws:lambda:us-east-1:000000000000:function:ElasticLambda\",\r\n                 \"Handler\": \"index.handler\",\r\n                 \"Timeout\": 60,\r\n                 \"Runtime\": \"nodejs6.10\"\r\n            }\r\n        ]\r\n    }\r\n\r\nHowever...\r\n     \r\n     $aws lambda invoke --function-name ElasticLambda \\\r\n\t--invocation-type RequestResponse \\\r\n\t--endpoint http://localhost:4574 \\\r\n\tout.txt\r\n\r\n    An error occurred (ResourceNotFoundException) when calling the Invoke operation: Function does not exist: ElasticLambda\r\n\r\n\r\nAnyone got any idea? Especially that this is persisting between restarts of the container?\r\n\r\nThanks\r\n\r\n<!-- Love localstack? Please consider supporting our collective:\r\n👉  https://opencollective.com/localstack/donate -->"},"comment":{"url":"https://api.github.com/repos/localstack/localstack/issues/comments/330183257","html_url":"https://github.com/localstack/localstack/issues/326#issuecomment-330183257","issue_url":"https://api.github.com/repos/localstack/localstack/issues/326","id":330183257,"user":{"login":"mikebrules","id":562460,"avatar_url":"https://avatars2.githubusercontent.com/u/562460?v=4","gravatar_id":"","url":"https://api.github.com/users/mikebrules","html_url":"https://github.com/mikebrules","followers_url":"https://api.github.com/users/mikebrules/followers","following_url":"https://api.github.com/users/mikebrules/following{/other_user}","gists_url":"https://api.github.com/users/mikebrules/gists{/gist_id}","starred_url":"https://api.github.com/users/mikebrules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikebrules/subscriptions","organizations_url":"https://api.github.com/users/mikebrules/orgs","repos_url":"https://api.github.com/users/mikebrules/repos","events_url":"https://api.github.com/users/mikebrules/events{/privacy}","received_events_url":"https://api.github.com/users/mikebrules/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T10:38:45Z","updated_at":"2017-09-18T10:38:45Z","author_association":"NONE","body":"ahhh okay - this error occurs when, for some reason, the function entry point can't be found (and possibly other reasons). No actual issue"}}
{"actor":{"display_login":"mikebrules"}}