{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-stups/senza/issues/131","labels_url":"https://api.github.com/repos/zalando-stups/senza/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/senza/issues/131/comments","events_url":"https://api.github.com/repos/zalando-stups/senza/issues/131/events","html_url":"https://github.com/zalando-stups/senza/issues/131","id":114125256,"number":131,"title":"senza patch: allow updating launch configurations and auto scaling groups","user":{"login":"hjacobs","id":510328,"avatar_url":"https://avatars.githubusercontent.com/u/510328?v=3","gravatar_id":"","url":"https://api.github.com/users/hjacobs","html_url":"https://github.com/hjacobs","followers_url":"https://api.github.com/users/hjacobs/followers","following_url":"https://api.github.com/users/hjacobs/following{/other_user}","gists_url":"https://api.github.com/users/hjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/hjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjacobs/subscriptions","organizations_url":"https://api.github.com/users/hjacobs/orgs","repos_url":"https://api.github.com/users/hjacobs/repos","events_url":"https://api.github.com/users/hjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/hjacobs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zalando-stups/senza/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T19:12:02Z","updated_at":"2015-10-29T19:13:09Z","closed_at":null,"body":"I propose to add a new Senza command \"patch\".\r\nThe \"patch\" command should be able to update existing Cloud Formation resources (without using Cloud Formation \"update\" as this might not be feasible because of DNS traffic switching):\r\n\r\n* update launch configurations to use latest Taupage AMI\r\n* update launch configurations with changed Taupage config (different Docker image, environment variables, etc)\r\n* rollout changes for all ASG instances (similar to https://github.com/ImmobilienScout24/aws-ha-updater)\r\n\r\nThe command line interface could look like:\r\n\r\n```bash\r\n# \"patch\" allows using an existing Senza YAML\r\n# update launch configuration according to current Senza YAML \r\n# and respawn instances (\"apply\"):\r\n$ senza patch myapp.yaml 1 --apply  \r\n# or allows patching individual properties (pre-defined patches)\r\n# use latest Taupage AMI and terminate/respawn instances:\r\n$ senza patch mystack 1 --latest-taupage-image --apply \r\n"},"comment":{"url":"https://api.github.com/repos/zalando-stups/senza/issues/comments/152291025","html_url":"https://github.com/zalando-stups/senza/issues/131#issuecomment-152291025","issue_url":"https://api.github.com/repos/zalando-stups/senza/issues/131","id":152291025,"user":{"login":"hjacobs","id":510328,"avatar_url":"https://avatars.githubusercontent.com/u/510328?v=3","gravatar_id":"","url":"https://api.github.com/users/hjacobs","html_url":"https://github.com/hjacobs","followers_url":"https://api.github.com/users/hjacobs/followers","following_url":"https://api.github.com/users/hjacobs/following{/other_user}","gists_url":"https://api.github.com/users/hjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/hjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjacobs/subscriptions","organizations_url":"https://api.github.com/users/hjacobs/orgs","repos_url":"https://api.github.com/users/hjacobs/repos","events_url":"https://api.github.com/users/hjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/hjacobs/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T19:13:09Z","updated_at":"2015-10-29T19:13:09Z","body":"@tuxlife @sarnowski please provide some feedback to my proposal :bow: "}}