{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/eb-node-express-signup/issues/2","labels_url":"https://api.github.com/repos/awslabs/eb-node-express-signup/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/eb-node-express-signup/issues/2/comments","events_url":"https://api.github.com/repos/awslabs/eb-node-express-signup/issues/2/events","html_url":"https://github.com/awslabs/eb-node-express-signup/issues/2","id":72754300,"number":2,"title":"iam_policy.json does not validate, missing \"Version\" info","user":{"login":"rayjanwilson","id":238897,"avatar_url":"https://avatars.githubusercontent.com/u/238897?v=3","gravatar_id":"","url":"https://api.github.com/users/rayjanwilson","html_url":"https://github.com/rayjanwilson","followers_url":"https://api.github.com/users/rayjanwilson/followers","following_url":"https://api.github.com/users/rayjanwilson/following{/other_user}","gists_url":"https://api.github.com/users/rayjanwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/rayjanwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayjanwilson/subscriptions","organizations_url":"https://api.github.com/users/rayjanwilson/orgs","repos_url":"https://api.github.com/users/rayjanwilson/repos","events_url":"https://api.github.com/users/rayjanwilson/events{/privacy}","received_events_url":"https://api.github.com/users/rayjanwilson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-03T05:46:39Z","updated_at":"2015-05-19T09:53:08Z","closed_at":null,"body":"Following the [Deploying a Web Application Guide](http://docs.aws.amazon.com/gettingstarted/latest/deploy/setting-up.html), we are asked to use this repo. The provided iam_policy.json does not validate (Step 7), responding that a valid IAM policy requires a Version. \r\n\r\n[Example policies](http://docs.aws.amazon.com/IAM/latest/UserGuide/ExampleIAMPolicies.html) show how to add the Version. \r\n\r\nBelow is a proposed valid iam_policy.json. Hope this is helpful.\r\n\r\n```json\r\n{\r\n    \"Version\": \"2012-10-17\",\r\n    \"Statement\": [\r\n        {\r\n            \"Effect\": \"Allow\",\r\n            \"Action\": [\r\n                \"dynamodb:PutItem\"\r\n            ],\r\n            \"Resource\": [\r\n                \"*\"\r\n            ]\r\n        },\r\n        {\r\n            \"Effect\": \"Allow\",\r\n            \"Action\": [\r\n                \"sns:Publish\"\r\n            ],\r\n            \"Resource\": [\r\n                \"*\"\r\n            ]\r\n        }\r\n    ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/awslabs/eb-node-express-signup/issues/comments/103421014","html_url":"https://github.com/awslabs/eb-node-express-signup/issues/2#issuecomment-103421014","issue_url":"https://api.github.com/repos/awslabs/eb-node-express-signup/issues/2","id":103421014,"user":{"login":"butl4701","id":12353084,"avatar_url":"https://avatars.githubusercontent.com/u/12353084?v=3","gravatar_id":"","url":"https://api.github.com/users/butl4701","html_url":"https://github.com/butl4701","followers_url":"https://api.github.com/users/butl4701/followers","following_url":"https://api.github.com/users/butl4701/following{/other_user}","gists_url":"https://api.github.com/users/butl4701/gists{/gist_id}","starred_url":"https://api.github.com/users/butl4701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butl4701/subscriptions","organizations_url":"https://api.github.com/users/butl4701/orgs","repos_url":"https://api.github.com/users/butl4701/repos","events_url":"https://api.github.com/users/butl4701/events{/privacy}","received_events_url":"https://api.github.com/users/butl4701/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T09:53:08Z","updated_at":"2015-05-19T09:53:08Z","body":"Please do issue a pull request. I tried hacking for nearly an hour before I realized that you had posted this new version. Thank you for this. Good stuff and allowed me to continue working through the tut."}}