You really shouldn't be calling heat.engine.stack_resource.StackResource.preview() from within a resource plugin at all ever.
Could you describe why your resource wants to do this?
You really shouldn't be calling heat.engine. stack_resource. StackResource. preview( ) from within a resource plugin at all ever.
Could you describe why your resource wants to do this?