Traceback (most recent call last):


 "/tmp/kitchen/testing/salt/utils/templates.py", line 392, in render_jinja_tmpl

output = template.render(**decoded_context)


 "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render

return original_render(self, *args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render

return self.environment.handle_exception(exc_info, True)


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise

raise value.with_traceback(tb)


 "<template>", line 1, in top-level template code


 "/tmp/kitchen/testing/salt/utils/http.py", line 468, in query

result_text = result.body.decode('utf-8')
AttributeError: 'HTTPResponse' object has no attribute 'body'

Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/c7n/policy.py", line 232, in run

resources = self.policy.resource_manager.resources()


 "/usr/lib/python2.7/site-packages/c7n_gcp/query.py", line 165, in resources

return self.filter_resources(resources)


 "/usr/lib/python2.7/site-packages/c7n/manager.py", line 105, in filter_resources

resources = f.process(resources, event)


 "/usr/lib/python2.7/site-packages/c7n/filters/core.py", line 267, in process

sweeper = AnnotationSweeper(self.manager.get_model().id, resources)
AttributeError: type object 'resource_type' has no attribute 'id'
