{"action":"created","issue":{"url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/65","labels_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/65/comments","events_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/65/events","html_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/65","id":111813301,"number":65,"title":"Add support for stack metadata","user":{"login":"scarybot","id":1419717,"avatar_url":"https://avatars.githubusercontent.com/u/1419717?v=3","gravatar_id":"","url":"https://api.github.com/users/scarybot","html_url":"https://github.com/scarybot","followers_url":"https://api.github.com/users/scarybot/followers","following_url":"https://api.github.com/users/scarybot/following{/other_user}","gists_url":"https://api.github.com/users/scarybot/gists{/gist_id}","starred_url":"https://api.github.com/users/scarybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarybot/subscriptions","organizations_url":"https://api.github.com/users/scarybot/orgs","repos_url":"https://api.github.com/users/scarybot/repos","events_url":"https://api.github.com/users/scarybot/events{/privacy}","received_events_url":"https://api.github.com/users/scarybot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T11:33:38Z","updated_at":"2015-10-17T08:40:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/pulls/65","html_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/65","diff_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/65.diff","patch_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/65.patch"},"body":"Hi!\r\n\r\nI recently needed to embed metadata into my stacks (as described here: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html)\r\n\r\nSo, I've added support for that. Apologies if I've missed anything obvious... this is, in fact, my very first pull request.\r\n\r\nCheers!\r\nJames"},"comment":{"url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/comments/148895992","html_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/65#issuecomment-148895992","issue_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/65","id":148895992,"user":{"login":"scarybot","id":1419717,"avatar_url":"https://avatars.githubusercontent.com/u/1419717?v=3","gravatar_id":"","url":"https://api.github.com/users/scarybot","html_url":"https://github.com/scarybot","followers_url":"https://api.github.com/users/scarybot/followers","following_url":"https://api.github.com/users/scarybot/following{/other_user}","gists_url":"https://api.github.com/users/scarybot/gists{/gist_id}","starred_url":"https://api.github.com/users/scarybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarybot/subscriptions","organizations_url":"https://api.github.com/users/scarybot/orgs","repos_url":"https://api.github.com/users/scarybot/repos","events_url":"https://api.github.com/users/scarybot/events{/privacy}","received_events_url":"https://api.github.com/users/scarybot/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T08:40:35Z","updated_at":"2015-10-17T08:40:35Z","body":"Hi Jona,\n\nWe're using it at the moment to store data about expected versions of\nsoftware and state of databases on instances inside the stack. Puppet is\nretrieving this metadata as an object and using it to make decisions about\nhow to provision the machines. This way we are able to deploy new versions\nsimply by updating the cloudformation template and running puppet.\n\nJ\nOn Fri, 16 Oct 2015 at 16:31, Jona Fenocchi <notifications@github.com>\nwrote:\n\n> hi @scarybot <https://github.com/scarybot> one of the nice things that\n> you get from having the ruby DSL is that you can use Ruby comments anywhere\n> in the template, and still have a valid template. I expect this is the\n> reason why we've never bothered adding support for template metadata. Is\n> there another use-case that this covers beyond simple commentary?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/65#issuecomment-148747476>\n> .\n>\n"}}