heat.engine.parent_rsrc module

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.

t

The resource definition.

heat.engine.parent_rsrc.use_parent_stack(parent_proxy, stack)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.