{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1869","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1869/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1869/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1869/events","html_url":"https://github.com/serverless/serverless/issues/1869","id":171316187,"number":1869,"title":"Redesign CF Logical ID's of all resources we create","user":{"login":"flomotlik","id":132653,"avatar_url":"https://avatars.githubusercontent.com/u/132653?v=3","gravatar_id":"","url":"https://api.github.com/users/flomotlik","html_url":"https://github.com/flomotlik","followers_url":"https://api.github.com/users/flomotlik/followers","following_url":"https://api.github.com/users/flomotlik/following{/other_user}","gists_url":"https://api.github.com/users/flomotlik/gists{/gist_id}","starred_url":"https://api.github.com/users/flomotlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flomotlik/subscriptions","organizations_url":"https://api.github.com/users/flomotlik/orgs","repos_url":"https://api.github.com/users/flomotlik/repos","events_url":"https://api.github.com/users/flomotlik/events{/privacy}","received_events_url":"https://api.github.com/users/flomotlik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/area/events","name":"area/events","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/area/provider-integration","name":"area/provider-integration","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/discussion","name":"discussion","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/serverless/serverless/milestones/8","html_url":"https://github.com/serverless/serverless/milestones/v1.0","labels_url":"https://api.github.com/repos/serverless/serverless/milestones/8/labels","id":1761859,"number":8,"title":"v1.0","description":"","creator":{"login":"flomotlik","id":132653,"avatar_url":"https://avatars.githubusercontent.com/u/132653?v=3","gravatar_id":"","url":"https://api.github.com/users/flomotlik","html_url":"https://github.com/flomotlik","followers_url":"https://api.github.com/users/flomotlik/followers","following_url":"https://api.github.com/users/flomotlik/following{/other_user}","gists_url":"https://api.github.com/users/flomotlik/gists{/gist_id}","starred_url":"https://api.github.com/users/flomotlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flomotlik/subscriptions","organizations_url":"https://api.github.com/users/flomotlik/orgs","repos_url":"https://api.github.com/users/flomotlik/repos","events_url":"https://api.github.com/users/flomotlik/events{/privacy}","received_events_url":"https://api.github.com/users/flomotlik/received_events","type":"User","site_admin":false},"open_issues":66,"closed_issues":228,"state":"open","created_at":"2016-05-12T08:39:40Z","updated_at":"2016-08-16T19:20:13Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-08-16T03:29:09Z","updated_at":"2016-08-16T20:05:41Z","closed_at":null,"body":"At the moment we don't have consistent CF logical ID naming across Serverless. This leads to various issues where resources are recreated when methods are renamed or resources can't be deployed because they already exist but under a different name.\r\n\r\nBefore the V1 release we need to have a consistent naming scheme for CF resources and we need to document them everywhere.\r\n\r\nItems to check:\r\n\r\n- [ ] Function Compilation\r\n- [ ] S3 Event\r\n- [ ] SNS Event\r\n- [ ] API Gateway Event\r\n- [ ] Scheduled Event"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/240221260","html_url":"https://github.com/serverless/serverless/issues/1869#issuecomment-240221260","issue_url":"https://api.github.com/repos/serverless/serverless/issues/1869","id":240221260,"user":{"login":"nicka","id":195404,"avatar_url":"https://avatars.githubusercontent.com/u/195404?v=3","gravatar_id":"","url":"https://api.github.com/users/nicka","html_url":"https://github.com/nicka","followers_url":"https://api.github.com/users/nicka/followers","following_url":"https://api.github.com/users/nicka/following{/other_user}","gists_url":"https://api.github.com/users/nicka/gists{/gist_id}","starred_url":"https://api.github.com/users/nicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicka/subscriptions","organizations_url":"https://api.github.com/users/nicka/orgs","repos_url":"https://api.github.com/users/nicka/repos","events_url":"https://api.github.com/users/nicka/events{/privacy}","received_events_url":"https://api.github.com/users/nicka/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T20:05:41Z","updated_at":"2016-08-16T20:05:41Z","body":"@nickchisiu after thinking about it, my **Proposal 1 ** would work since it's based on the http path and method. Renaming the function wouldn't impact the APIGW resources. It would only update to the new renamed Lambda function. Off-course this logic might no be as straight forward for other event types. What do you think?"}}
{"actor":{"display_login":"nicka"}}