Skip to main content

Overview

An orchestration template is a YAML document that declaratively describes a set of cloud resources and their relationships. The Orchestration engine reads the template, resolves dependencies between resources, and provisions them in the correct order. Templates are reusable — parameterized values allow the same template to deploy different environments without modification.
Prerequisites
  • Familiarity with YAML syntax
  • Access to the Polystack Orchestration service in your project
  • polystack CLI installed for template validation

Template Structure

Every orchestration template has up to six top-level sections:
template-skeleton.yaml

Parameters

Parameters make templates reusable across different environments and projects.

Parameter Types

Parameter Definition Reference

parameters-reference.yaml
Validate parameters before deploying: run openstack orchestration template validate -t your-template.yaml to catch type mismatches and constraint violations before the stack is submitted.

Resources

Resources are the core of every template. Each resource has a logical name, a type, and a set of properties.
resource-definition.yaml

Intrinsic Functions

Intrinsic functions allow template sections to reference other parts of the template dynamically at runtime.

Function Examples

intrinsic-function-examples.yaml

Conditions

Conditions enable selective resource creation based on parameter values. Define a condition by name, then reference it in resource definitions with condition:.
conditions-example.yaml

Outputs

Outputs expose values from created resources back to the caller. They are visible in the Dashboard stack detail view and retrievable via CLI.
outputs-example.yaml

Next Steps

Resource Types

Full reference for all supported resource types and their properties

Getting Started

Deploy your first stack using a complete example template

Auto-Scaling

Use scaling groups and alarm policies in templates

Manage Stacks

Update and manage stacks through their full lifecycle