{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/issues/53","repository_url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning","labels_url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/issues/53/comments","events_url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/issues/53/events","html_url":"https://github.com/alphagov/govuk-terraform-provisioning/pull/53","id":155060870,"number":53,"title":"Add option for versioning","user":{"login":"surminus","id":5610276,"avatar_url":"https://avatars.githubusercontent.com/u/5610276?v=3","gravatar_id":"","url":"https://api.github.com/users/surminus","html_url":"https://github.com/surminus","followers_url":"https://api.github.com/users/surminus/followers","following_url":"https://api.github.com/users/surminus/following{/other_user}","gists_url":"https://api.github.com/users/surminus/gists{/gist_id}","starred_url":"https://api.github.com/users/surminus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surminus/subscriptions","organizations_url":"https://api.github.com/users/surminus/orgs","repos_url":"https://api.github.com/users/surminus/repos","events_url":"https://api.github.com/users/surminus/events{/privacy}","received_events_url":"https://api.github.com/users/surminus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T15:59:36Z","updated_at":"2016-05-17T12:54:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/pulls/53","html_url":"https://github.com/alphagov/govuk-terraform-provisioning/pull/53","diff_url":"https://github.com/alphagov/govuk-terraform-provisioning/pull/53.diff","patch_url":"https://github.com/alphagov/govuk-terraform-provisioning/pull/53.patch"},"body":"This adds an option for versioning an S3 bucket in a module, and adds an example use case within a project.\r\n\r\nNote: not sure if this actually should be written as a string or a boolean, will test. \r\n\r\nAs per the docs here https://www.terraform.io/docs/providers/aws/r/s3_bucket.html"},"comment":{"url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/issues/comments/219708398","html_url":"https://github.com/alphagov/govuk-terraform-provisioning/pull/53#issuecomment-219708398","issue_url":"https://api.github.com/repos/alphagov/govuk-terraform-provisioning/issues/53","id":219708398,"user":{"login":"surminus","id":5610276,"avatar_url":"https://avatars.githubusercontent.com/u/5610276?v=3","gravatar_id":"","url":"https://api.github.com/users/surminus","html_url":"https://github.com/surminus","followers_url":"https://api.github.com/users/surminus/followers","following_url":"https://api.github.com/users/surminus/following{/other_user}","gists_url":"https://api.github.com/users/surminus/gists{/gist_id}","starred_url":"https://api.github.com/users/surminus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surminus/subscriptions","organizations_url":"https://api.github.com/users/surminus/orgs","repos_url":"https://api.github.com/users/surminus/repos","events_url":"https://api.github.com/users/surminus/events{/privacy}","received_events_url":"https://api.github.com/users/surminus/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T12:54:06Z","updated_at":"2016-05-17T12:54:06Z","body":"Results from a plan:\r\n\r\n```\r\n~ module.private_s3_bucket.aws_s3_bucket.bucket\r\n    versioning.#:                \"0\" => \"1\"\r\n    versioning.69840937.enabled: \"\" => \"1\"\r\n```\r\n\r\nResults from an apply (this is updating a currently provisioned bucket):\r\n\r\n```\r\nmodule.private_s3_bucket.aws_s3_bucket.bucket: Modifying...\r\n  versioning.#:                \"0\" => \"1\"\r\n  versioning.69840937.enabled: \"\" => \"1\"\r\nmodule.private_s3_bucket.aws_s3_bucket.bucket: Modifications complete\r\n\r\nApply complete! Resources: 0 added, 1 changed, 0 destroyed.\r\n```\r\n\r\nThink this looks good so will merge!"}}