Skip to content

Add support for environment variables #34

Description

@Angelmmiguel

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions