{"action":"opened","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/4084","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/4084/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/4084/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/4084/events","html_url":"https://github.com/mitchellh/packer/issues/4084","id":186071069,"number":4084,"title":"Improve output of packer AMIs that were built","user":{"login":"gtmtech","id":2953949,"avatar_url":"https://avatars.githubusercontent.com/u/2953949?v=3","gravatar_id":"","url":"https://api.github.com/users/gtmtech","html_url":"https://github.com/gtmtech","followers_url":"https://api.github.com/users/gtmtech/followers","following_url":"https://api.github.com/users/gtmtech/following{/other_user}","gists_url":"https://api.github.com/users/gtmtech/gists{/gist_id}","starred_url":"https://api.github.com/users/gtmtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtmtech/subscriptions","organizations_url":"https://api.github.com/users/gtmtech/orgs","repos_url":"https://api.github.com/users/gtmtech/repos","events_url":"https://api.github.com/users/gtmtech/events{/privacy}","received_events_url":"https://api.github.com/users/gtmtech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-29T10:19:55Z","updated_at":"2016-10-29T10:19:55Z","closed_at":null,"body":"Packer 0.10.2\r\n\r\nWhen building AMIs, this is the (un)helpful output at the end:\r\n\r\n```\r\n==> Builds finished. The artifacts of successful builds are:\r\n--> myimage1: AMIs were created:\r\n\r\neu-west-1: ami-82b2xxxx\r\n--> myimage2: AMIs were created:\r\n\r\neu-west-1: ami-09b0xxxx\r\n```\r\n\r\nExcept, its really not that useful - a really ugly multi-line format, making it needlessly difficult to process (Suppose after packering I want a script to pick up the built AMIs and do something, like... inject to terraform or whatever).\r\n\r\nWhy not something like this instead:\r\n\r\n```\r\nmyimage1:\r\n  region: eu-west-1\r\n  amiid: ami-82b2xxxx\r\nmyimage2:\r\n  region: eu-west-1\r\n  amiid: ami-09b0xxxx\r\n```\r\n\r\nIn this case I can pop the output straight into a yaml parser and off I go, rather than have to come up with some multi-line parsing regexing tool myself. \r\n\r\nOr a CSV or a JSON or ..... virtually anything would be better than current.\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"gtmtech"}}