{"action":"created","issue":{"url":"https://api.github.com/repos/cloud-custodian/cloud-custodian/issues/3273","repository_url":"https://api.github.com/repos/cloud-custodian/cloud-custodian","labels_url":"https://api.github.com/repos/cloud-custodian/cloud-custodian/issues/3273/labels{/name}","comments_url":"https://api.github.com/repos/cloud-custodian/cloud-custodian/issues/3273/comments","events_url":"https://api.github.com/repos/cloud-custodian/cloud-custodian/issues/3273/events","html_url":"https://github.com/cloud-custodian/cloud-custodian/issues/3273","id":393513706,"node_id":"MDU6SXNzdWUzOTM1MTM3MDY=","number":3273,"title":"C7N execution error - mugc.py","user":{"login":"mukavik","id":37671194,"node_id":"MDQ6VXNlcjM3NjcxMTk0","avatar_url":"https://avatars3.githubusercontent.com/u/37671194?v=4","gravatar_id":"","url":"https://api.github.com/users/mukavik","html_url":"https://github.com/mukavik","followers_url":"https://api.github.com/users/mukavik/followers","following_url":"https://api.github.com/users/mukavik/following{/other_user}","gists_url":"https://api.github.com/users/mukavik/gists{/gist_id}","starred_url":"https://api.github.com/users/mukavik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mukavik/subscriptions","organizations_url":"https://api.github.com/users/mukavik/orgs","repos_url":"https://api.github.com/users/mukavik/repos","events_url":"https://api.github.com/users/mukavik/events{/privacy}","received_events_url":"https://api.github.com/users/mukavik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-21T16:17:54Z","updated_at":"2018-12-31T22:53:59Z","closed_at":null,"author_association":"NONE","body":"Hi I am getting the following error while running mugc.py. I tried on current and 0.8.31.2 version. \r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"mugc.py\", line 153, in <module>\r\n main()\r\n File \"mugc.py\", line 146, in main\r\n resources.load_resources()\r\n File \"/usr/local/lib/python2.7/site-packages/c7n/resources/__init__.py\", line 36, in load_resources\r\n import c7n.resources.asg\r\n File \"/usr/local/lib/python2.7/site-packages/c7n/resources/asg.py\", line 44, in <module>\r\n from .ec2 import deserialize_user_data\r\n File \"/usr/local/lib/python2.7/site-packages/c7n/resources/ec2.py\", line 32, in <module>\r\n from c7n.actions.securityhub import PostFinding\r\n File \"/usr/local/lib/python2.7/site-packages/c7n/actions/securityhub.py\", line 24, in <module>\r\n from c7n.resources.ec2 import EC2\r\nImportError: cannot import name EC2\r\n```"},"comment":{"url":"https://api.github.com/repos/cloud-custodian/cloud-custodian/issues/comments/450697110","html_url":"https://github.com/cloud-custodian/cloud-custodian/issues/3273#issuecomment-450697110","issue_url":"https://api.github.com/repos/cloud-custodian/cloud-custodian/issues/3273","id":450697110,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY5NzExMA==","user":{"login":"kapilt","id":21650,"node_id":"MDQ6VXNlcjIxNjUw","avatar_url":"https://avatars3.githubusercontent.com/u/21650?v=4","gravatar_id":"","url":"https://api.github.com/users/kapilt","html_url":"https://github.com/kapilt","followers_url":"https://api.github.com/users/kapilt/followers","following_url":"https://api.github.com/users/kapilt/following{/other_user}","gists_url":"https://api.github.com/users/kapilt/gists{/gist_id}","starred_url":"https://api.github.com/users/kapilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapilt/subscriptions","organizations_url":"https://api.github.com/users/kapilt/orgs","repos_url":"https://api.github.com/users/kapilt/repos","events_url":"https://api.github.com/users/kapilt/events{/privacy}","received_events_url":"https://api.github.com/users/kapilt/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T22:53:59Z","updated_at":"2018-12-31T22:53:59Z","author_association":"MEMBER","body":"whats the base image on the buildspec, can you paste the relevant and anon portion of the spec here?"}}
{"actor":{"display_login":"kapilt"}}