Environment variables will be configured in TOML files. Every worker will define its own set of environment variable, which will be accessible only for them.
As a tentative API, we will include a new .env resource in the TOML config file:
name = "test"
version = "1"
[env]
MY_ENV_VAR = "Testing!"
Then, the environment variables will be passed to the inner modules via WASI. The environment variables will be accessible via default env methods from the different languages.
Environment variables will be configured in
TOMLfiles. Every worker will define its own set of environment variable, which will be accessible only for them.As a tentative API, we will include a new
.envresource in the TOML config file:Then, the environment variables will be passed to the inner modules via WASI. The environment variables will be accessible via default env methods from the different languages.