Blueprints are reusable templates that allow you to configure everything needed to automate installations of your services. They define a collection of service installations, and inputs which can be customized across environments. When you install a blueprint on an environment, it creates installations for all the services defined in the blueprint and keeps them in sync with the blueprint.Documentation Index
Fetch the complete documentation index at: https://ryvn.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Blueprints help you standardize installations and reduce configuration duplication across environments.
When to use blueprints?
Blueprints are most powerful when you have multiple environments and find yourself repeating the same configuration patterns across them. They allow you to avoid configuration drift and ensure consistency for your services. On the other hand, if you only have a single environment, it may be premature to use blueprints and it would be easier to just manage the configuration directly at the installation level.Using blueprints
Blueprints are configured via Git Sync using the resource-based YAML format. See infrastructure as code to set up Git Sync before using blueprints. Here is an example of a blueprint of a simple application consisting of a frontend and backend web-server.Blueprint syncing
When you make changes to blueprints, these changes will result in changes to all blueprint installations automatically, if they are valid and do not require intervention. If you add an environment variable or a secret directly on the installation but this environment variable or secret does not appear in the blueprint definition, then it will be ignored and not managed by the blueprint. This also means if you remove an environment variable or secret from the blueprint definition, it will not be automatically removed from the installation.Blueprint inputs
Inputs allow you to customize blueprint behavior when installing it on an environment. They support various data types:| Type | Description | Example |
|---|---|---|
string | Text values | Application names, URLs |
number | Numeric values | CPU cores, memory limits |
boolean | True/false values | Feature flags, enable/disable options |
array | Lists of values | Port lists, environment names |
object | Complex data structures | Configuration objects |
Input properties
Each input can have these properties:| Property | Description | Required |
|---|---|---|
name | Unique identifier for the input | Yes |
type | Data type (string, number, boolean, array, object) | Yes |
description | Detailed explanation of the input’s purpose | No |
displayName | Human-readable name for the UI | No |
default | Default value if not specified | No |
Inputs without default values are automatically converted to blueprint inputs and are required to be assigned a value
when installing the blueprint.
Service configuration
Each service installation in a blueprint can be configured with:Environment variables
For web-server services, you can define environment variables:Service configuration
Theconfig field contains service-specific configuration as a YAML string. This is the same configuration that you would
provide to the service when installing it manually. For helm charts, this is the same as the override values.yaml file and for
terraform, this is the same as the variables yaml file.
Template variables
Configuration can reference blueprint inputs using template syntax.Secrets management
Blueprints can define secrets that are automatically generated or referenced from variable groups:Generated secrets
Secret types
| Type | Description | Use Case |
|---|---|---|
random-string | Random alphanumeric string | API keys, tokens |
random-bytes | Random binary data | Encryption keys |
rsa-key | RSA key pair | SSL certificates, SSH keys |
ec-key | Elliptic curve key pair | Modern cryptography |
Variable Groups
For secrets managed via variable groups (recommended):User-defined secrets
For secrets that need to be provided by users:Blueprint outputs
Outputs allow a blueprint to expose values produced by its underlying service installations — such as database endpoints, connection strings, or resource IDs — so that other services can consume them.Defining outputs
Declare outputs in the blueprint spec. Each output uses afrom template to resolve its value from an installation’s outputs (e.g., terraform outputs):
Consuming outputs
Other services can reference blueprint outputs in two ways: Template syntax (non-secret outputs only):Output properties
| Property | Description | Required |
|---|---|---|
name | Unique identifier for the output | Yes |
type | Data type (string, number, boolean) | Yes |
from | Template expression resolving the value from installation outputs | Yes |
description | Description of what this output represents | No |
displayName | Human-readable name for the UI | No |
isSecret | Whether this output contains sensitive data | No |
condition | Condition expression controlling whether the output is produced | No |
Installing blueprints
To install a blueprint on an environment, add it to your environment configuration:Installation options
| Option | Description | Required |
|---|---|---|
blueprint | Name of the blueprint to install | Yes |
name | Custom name for this installation | No |
inputs | Values for blueprint inputs | No |
If you install the same blueprint multiple times on an environment, you must provide a unique
name for each installation.