Revision history [back]

You can add pre-create and pre-delete hooks on resources. These are specified in the resource_registry section of an environment file, like so:

      hooks: pre-delete
      hooks: [pre-create, pre-delete]

Wildcards in resource names are allowed.

When Heat reaches the resource to create/delete it, it will pause until you use the openstack stack hook clear command to prompt Heat to continue (or until the stack times out). You can determine when Heat is paused at a hook using the openstack stack hook poll command, or configure notifications on a Zaqar queue.