heat.engine.parent_rsrc module

class heat.engine.parent_rsrc.ParentResourceProxy(context, parent_resource_name, parent_stack_id)[source]

Bases: object

Proxy for the TemplateResource that owns a provider stack.

This is an interface through which the Fn::ResourceFacade/resource_facade intrinsic functions in a stack can access data about the TemplateResource in the parent stack for which it was created.

This API can be considered stable by third-party Function plugins, and no part of it should be changed or removed without an appropriate deprecation process.

metadata_get()[source]

Return the resource metadata.

property t

The resource definition.

heat.engine.parent_rsrc.use_parent_stack(parent_proxy, stack)[source]