{"action":"opened","number":468,"pull_request":{"url":"https://api.github.com/repos/cloudtools/troposphere/pulls/468","id":67096179,"html_url":"https://github.com/cloudtools/troposphere/pull/468","diff_url":"https://github.com/cloudtools/troposphere/pull/468.diff","patch_url":"https://github.com/cloudtools/troposphere/pull/468.patch","issue_url":"https://api.github.com/repos/cloudtools/troposphere/issues/468","number":468,"state":"open","locked":false,"title":"Import JSON Templates","user":{"login":"muikrad","id":5009356,"avatar_url":"https://avatars.githubusercontent.com/u/5009356?v=3","gravatar_id":"","url":"https://api.github.com/users/muikrad","html_url":"https://github.com/muikrad","followers_url":"https://api.github.com/users/muikrad/followers","following_url":"https://api.github.com/users/muikrad/following{/other_user}","gists_url":"https://api.github.com/users/muikrad/gists{/gist_id}","starred_url":"https://api.github.com/users/muikrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muikrad/subscriptions","organizations_url":"https://api.github.com/users/muikrad/orgs","repos_url":"https://api.github.com/users/muikrad/repos","events_url":"https://api.github.com/users/muikrad/events{/privacy}","received_events_url":"https://api.github.com/users/muikrad/received_events","type":"User","site_admin":false},"body":"This new Template subclass makes it possible to import most Cloudformation templates as JSON and parse them as Troposphere objects. This is different from cfn2py in that it's not trying to write actual python code, but rather instantiate the actual objects without the need to edit it afterwards.\r\n\r\nThere are probably a few tropo-specific AWSHelperFns that won't be parsed correctly, but the ones included in the tests/examples_output are all supported. I believe an effort should be done to normalize the helper functions into something discoverable with a consistent use - but I have yet to really ponder on that issue.","created_at":"2016-04-19T21:51:38Z","updated_at":"2016-04-19T21:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfd382473e6fcfc7a53136a7b81fe12d07204d0e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/468/commits","review_comments_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/468/comments","review_comment_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudtools/troposphere/issues/468/comments","statuses_url":"https://api.github.com/repos/cloudtools/troposphere/statuses/99f3f3be978c648ae0e71900c6ad17b108dc307f","head":{"label":"muikrad:import-cfn-json","ref":"import-cfn-json","sha":"99f3f3be978c648ae0e71900c6ad17b108dc307f","user":{"login":"muikrad","id":5009356,"avatar_url":"https://avatars.githubusercontent.com/u/5009356?v=3","gravatar_id":"","url":"https://api.github.com/users/muikrad","html_url":"https://github.com/muikrad","followers_url":"https://api.github.com/users/muikrad/followers","following_url":"https://api.github.com/users/muikrad/following{/other_user}","gists_url":"https://api.github.com/users/muikrad/gists{/gist_id}","starred_url":"https://api.github.com/users/muikrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muikrad/subscriptions","organizations_url":"https://api.github.com/users/muikrad/orgs","repos_url":"https://api.github.com/users/muikrad/repos","events_url":"https://api.github.com/users/muikrad/events{/privacy}","received_events_url":"https://api.github.com/users/muikrad/received_events","type":"User","site_admin":false},"repo":{"id":56622821,"name":"troposphere","full_name":"muikrad/troposphere","owner":{"login":"muikrad","id":5009356,"avatar_url":"https://avatars.githubusercontent.com/u/5009356?v=3","gravatar_id":"","url":"https://api.github.com/users/muikrad","html_url":"https://github.com/muikrad","followers_url":"https://api.github.com/users/muikrad/followers","following_url":"https://api.github.com/users/muikrad/following{/other_user}","gists_url":"https://api.github.com/users/muikrad/gists{/gist_id}","starred_url":"https://api.github.com/users/muikrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muikrad/subscriptions","organizations_url":"https://api.github.com/users/muikrad/orgs","repos_url":"https://api.github.com/users/muikrad/repos","events_url":"https://api.github.com/users/muikrad/events{/privacy}","received_events_url":"https://api.github.com/users/muikrad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muikrad/troposphere","description":"troposphere - Python library to create AWS CloudFormation descriptions","fork":true,"url":"https://api.github.com/repos/muikrad/troposphere","forks_url":"https://api.github.com/repos/muikrad/troposphere/forks","keys_url":"https://api.github.com/repos/muikrad/troposphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muikrad/troposphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muikrad/troposphere/teams","hooks_url":"https://api.github.com/repos/muikrad/troposphere/hooks","issue_events_url":"https://api.github.com/repos/muikrad/troposphere/issues/events{/number}","events_url":"https://api.github.com/repos/muikrad/troposphere/events","assignees_url":"https://api.github.com/repos/muikrad/troposphere/assignees{/user}","branches_url":"https://api.github.com/repos/muikrad/troposphere/branches{/branch}","tags_url":"https://api.github.com/repos/muikrad/troposphere/tags","blobs_url":"https://api.github.com/repos/muikrad/troposphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muikrad/troposphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muikrad/troposphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/muikrad/troposphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muikrad/troposphere/statuses/{sha}","languages_url":"https://api.github.com/repos/muikrad/troposphere/languages","stargazers_url":"https://api.github.com/repos/muikrad/troposphere/stargazers","contributors_url":"https://api.github.com/repos/muikrad/troposphere/contributors","subscribers_url":"https://api.github.com/repos/muikrad/troposphere/subscribers","subscription_url":"https://api.github.com/repos/muikrad/troposphere/subscription","commits_url":"https://api.github.com/repos/muikrad/troposphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/muikrad/troposphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/muikrad/troposphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/muikrad/troposphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/muikrad/troposphere/contents/{+path}","compare_url":"https://api.github.com/repos/muikrad/troposphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muikrad/troposphere/merges","archive_url":"https://api.github.com/repos/muikrad/troposphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muikrad/troposphere/downloads","issues_url":"https://api.github.com/repos/muikrad/troposphere/issues{/number}","pulls_url":"https://api.github.com/repos/muikrad/troposphere/pulls{/number}","milestones_url":"https://api.github.com/repos/muikrad/troposphere/milestones{/number}","notifications_url":"https://api.github.com/repos/muikrad/troposphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muikrad/troposphere/labels{/name}","releases_url":"https://api.github.com/repos/muikrad/troposphere/releases{/id}","deployments_url":"https://api.github.com/repos/muikrad/troposphere/deployments","created_at":"2016-04-19T18:48:39Z","updated_at":"2016-04-19T18:48:40Z","pushed_at":"2016-04-19T21:48:45Z","git_url":"git://github.com/muikrad/troposphere.git","ssh_url":"git@github.com:muikrad/troposphere.git","clone_url":"https://github.com/muikrad/troposphere.git","svn_url":"https://github.com/muikrad/troposphere","homepage":"","size":1013,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudtools:master","ref":"master","sha":"3270ceab43f6a705c8a0feebba8c4c9ddc389761","user":{"login":"cloudtools","id":3028687,"avatar_url":"https://avatars.githubusercontent.com/u/3028687?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudtools","html_url":"https://github.com/cloudtools","followers_url":"https://api.github.com/users/cloudtools/followers","following_url":"https://api.github.com/users/cloudtools/following{/other_user}","gists_url":"https://api.github.com/users/cloudtools/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudtools/subscriptions","organizations_url":"https://api.github.com/users/cloudtools/orgs","repos_url":"https://api.github.com/users/cloudtools/repos","events_url":"https://api.github.com/users/cloudtools/events{/privacy}","received_events_url":"https://api.github.com/users/cloudtools/received_events","type":"Organization","site_admin":false},"repo":{"id":7137821,"name":"troposphere","full_name":"cloudtools/troposphere","owner":{"login":"cloudtools","id":3028687,"avatar_url":"https://avatars.githubusercontent.com/u/3028687?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudtools","html_url":"https://github.com/cloudtools","followers_url":"https://api.github.com/users/cloudtools/followers","following_url":"https://api.github.com/users/cloudtools/following{/other_user}","gists_url":"https://api.github.com/users/cloudtools/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudtools/subscriptions","organizations_url":"https://api.github.com/users/cloudtools/orgs","repos_url":"https://api.github.com/users/cloudtools/repos","events_url":"https://api.github.com/users/cloudtools/events{/privacy}","received_events_url":"https://api.github.com/users/cloudtools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudtools/troposphere","description":"troposphere - Python library to create AWS CloudFormation descriptions","fork":false,"url":"https://api.github.com/repos/cloudtools/troposphere","forks_url":"https://api.github.com/repos/cloudtools/troposphere/forks","keys_url":"https://api.github.com/repos/cloudtools/troposphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudtools/troposphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudtools/troposphere/teams","hooks_url":"https://api.github.com/repos/cloudtools/troposphere/hooks","issue_events_url":"https://api.github.com/repos/cloudtools/troposphere/issues/events{/number}","events_url":"https://api.github.com/repos/cloudtools/troposphere/events","assignees_url":"https://api.github.com/repos/cloudtools/troposphere/assignees{/user}","branches_url":"https://api.github.com/repos/cloudtools/troposphere/branches{/branch}","tags_url":"https://api.github.com/repos/cloudtools/troposphere/tags","blobs_url":"https://api.github.com/repos/cloudtools/troposphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudtools/troposphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudtools/troposphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudtools/troposphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudtools/troposphere/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudtools/troposphere/languages","stargazers_url":"https://api.github.com/repos/cloudtools/troposphere/stargazers","contributors_url":"https://api.github.com/repos/cloudtools/troposphere/contributors","subscribers_url":"https://api.github.com/repos/cloudtools/troposphere/subscribers","subscription_url":"https://api.github.com/repos/cloudtools/troposphere/subscription","commits_url":"https://api.github.com/repos/cloudtools/troposphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudtools/troposphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudtools/troposphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudtools/troposphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudtools/troposphere/contents/{+path}","compare_url":"https://api.github.com/repos/cloudtools/troposphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudtools/troposphere/merges","archive_url":"https://api.github.com/repos/cloudtools/troposphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudtools/troposphere/downloads","issues_url":"https://api.github.com/repos/cloudtools/troposphere/issues{/number}","pulls_url":"https://api.github.com/repos/cloudtools/troposphere/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudtools/troposphere/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudtools/troposphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudtools/troposphere/labels{/name}","releases_url":"https://api.github.com/repos/cloudtools/troposphere/releases{/id}","deployments_url":"https://api.github.com/repos/cloudtools/troposphere/deployments","created_at":"2012-12-12T21:19:46Z","updated_at":"2016-04-19T06:38:16Z","pushed_at":"2016-04-19T21:51:38Z","git_url":"git://github.com/cloudtools/troposphere.git","ssh_url":"git@github.com:cloudtools/troposphere.git","clone_url":"https://github.com/cloudtools/troposphere.git","svn_url":"https://github.com/cloudtools/troposphere","homepage":"","size":1232,"stargazers_count":1123,"watchers_count":1123,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":331,"mirror_url":null,"open_issues_count":44,"forks":331,"open_issues":44,"watchers":1123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/468"},"html":{"href":"https://github.com/cloudtools/troposphere/pull/468"},"issue":{"href":"https://api.github.com/repos/cloudtools/troposphere/issues/468"},"comments":{"href":"https://api.github.com/repos/cloudtools/troposphere/issues/468/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/468/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/468/commits"},"statuses":{"href":"https://api.github.com/repos/cloudtools/troposphere/statuses/99f3f3be978c648ae0e71900c6ad17b108dc307f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":412,"deletions":19,"changed_files":7}}