Resource Variables

Define resource-specific variables at the blueprint level as defaults, then override them per environment with a clear hierarchy of inherited and custom values.

A resource can define its own variables at the blueprint level. Those blueprint values are the defaults, and you override them per environment, so it stays clear which values are inherited and which are customised for a specific environment.

Blueprint view of a resource's variables showing blueprint defaults alongside environment-specific overrides

Example

A user-service defines its defaults in the blueprint:

user-service:
  variables:
    SLD_INIT_USER_EMAIL: "support@company.com"
    API_RATE_LIMIT: "1000"
    FEATURE_FLAGS_ENABLED: "true"
    DEFAULT_USER_ROLE: "basic"

Production overrides a few of them:

production:
  user-service:
    variables:
      SLD_INIT_USER_EMAIL: "enterprise-support@company.com"
      API_RATE_LIMIT: "5000"
      DEFAULT_USER_ROLE: "enterprise"

Anything not overridden falls back to the blueprint default.

On this page