Bases: heat.engine.resource.Resource
An abstract Resource subclass that allows the management of an entire Stack as a resource in a parent stack.
Default implementation to get the child params.
Resources that inherit from StackResource should override this method with specific details about the parameters used by them.
Default implementation to get the child template.
Resources that inherit from StackResource should override this method with specific details about the template used by them.
Handle the creation of the nested stack from a given JSON template.
Delete the nested stack.
Return the specified Output value from the nested stack.
If the output key does not exist, raise an InvalidTemplateAttribute exception.
Return a Stack object representing the nested (child) stack.
Preview a StackResource as resources within a Stack.
This method overrides the original Resource.preview to return a preview of all the resources contained in this Stack. For this to be possible, the specific resources need to override both child_template and child_params with specific information to allow the stack to be parsed correctly. If any of these methods is missing, the entire StackResource will be returned as if it were a regular Resource.
Update the nested stack with the new template.