{"action":"opened","issue":{"url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/issues/54","repository_url":"https://api.github.com/repos/cfn-sphere/cfn-sphere","labels_url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/issues/54/comments","events_url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/issues/54/events","html_url":"https://github.com/cfn-sphere/cfn-sphere/issues/54","id":131044975,"number":54,"title":"Cloudformation fails if local templates are too large","user":{"login":"marco-hoyer","id":3943275,"avatar_url":"https://avatars.githubusercontent.com/u/3943275?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-hoyer","html_url":"https://github.com/marco-hoyer","followers_url":"https://api.github.com/users/marco-hoyer/followers","following_url":"https://api.github.com/users/marco-hoyer/following{/other_user}","gists_url":"https://api.github.com/users/marco-hoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-hoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-hoyer/subscriptions","organizations_url":"https://api.github.com/users/marco-hoyer/orgs","repos_url":"https://api.github.com/users/marco-hoyer/repos","events_url":"https://api.github.com/users/marco-hoyer/events{/privacy}","received_events_url":"https://api.github.com/users/marco-hoyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/milestones/6","html_url":"https://github.com/cfn-sphere/cfn-sphere/milestones/0.1.27","labels_url":"https://api.github.com/repos/cfn-sphere/cfn-sphere/milestones/6/labels","id":1555695,"number":6,"title":"0.1.27","description":"","creator":{"login":"marco-hoyer","id":3943275,"avatar_url":"https://avatars.githubusercontent.com/u/3943275?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-hoyer","html_url":"https://github.com/marco-hoyer","followers_url":"https://api.github.com/users/marco-hoyer/followers","following_url":"https://api.github.com/users/marco-hoyer/following{/other_user}","gists_url":"https://api.github.com/users/marco-hoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-hoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-hoyer/subscriptions","organizations_url":"https://api.github.com/users/marco-hoyer/orgs","repos_url":"https://api.github.com/users/marco-hoyer/repos","events_url":"https://api.github.com/users/marco-hoyer/events{/privacy}","received_events_url":"https://api.github.com/users/marco-hoyer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-02-01T14:08:54Z","updated_at":"2016-02-03T14:40:42Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-03T14:40:42Z","updated_at":"2016-02-03T14:40:42Z","closed_at":null,"body":"For larger templates cloudformation fails with an error:\r\n```\r\n'templateBody' failed to satisfy constraint: Member must have length less than or equal to 51200\r\n```\r\n\r\nCfn-Sphere actually prints the complete json template and the error at the end which is okay but maybe printing a better error message would be nice.\r\n\r\nFurthermore cfn-sphere does pretty formatting on the json it dumps from the internal dict representation. This pretty printed json is also used for the cfn api call. All the newlines and spaces unnecessarily increase the template body size and should be removed."}}