SDK Reference
environments
The environments
module provides functions for declaring environment configurations.
Allowed in
- Top level of
repo.ocu.star
file only
Usage
Load the module:
Example
API Reference
environment(name, attributes=, archived=False)
Declares an environment configuration that will be applied to the Ocuroot organization upon the next deliver or sync operation.
Arguments
name
: Unique environment name within the parent organizationattributes
: Dictionary of environment attributesarchived
: Boolean indicating whether the environment is archived
Returns
- None