Skip to content

vars#

/// info | Feature availability * Available on Self-hosted Enterprise and Pro and Enterprise Cloud plans. * You need access to the Ensemble instance owner account to create variables. ///

vars contains all Variables for the active environment. It's read-only: you can access variables using vars, but must set them using the UI.

1
2
// Access a variable
$vars.<variable-name>
1
2
# Access a variable
_vars.<variable-name>

vars and env

vars gives access to user-created variables. It's part of the Environments feature. env gives access to the configuration environment variables for your Ensemble instance.