1.0.2 • Published 2 years ago

serverless-doppler v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Serverless Doppler

It makes it easier to use Doppler without setup in serverless.

How to use?

First, install the package by entering the following command.

npm install -D serverless-doppler

You can add the following options:

ConfigDescriptionDefault
projectDoppler project name
tokenDoppler token
configDoppler configSame as serverless stage
custom:
  doppler:
    project: <DOPPLER PROJECT>
    config: <DOPPLER CONFIG>
    token: <DOPPLER TOKEN>

Congratulations. Automatically specifies the environment variable at run time.

Successful console log:

Loaded Doppler settings. (project: <PROJECT NAME>, config: <CONFIG>)
Loading environment variables from Doppler...
The environment variables below are applied.
  - DOPPLER_PROJECT
  - DOPPLER_ENVIRONMENT
  - DOPPLER_CONFIG