Widemesh CLI: mesh stacks config import
mesh stacks config import
imports configurations from existing sources such .env file, json file or shell env variables
Synopsis
You can use this command to import configuration variables
mesh stacks config import [flags]
Examples
$ heroku config -j | mesh stack config import --json-file=-
$ echo '{"MESSAGE": "message in a json file"}' | mesh stack config import --json-file=-
$ mesh stack config import --json-file=env.json
$ mesh stack config import --env-file=.env
$ MESSAGE='sample env variable message' && mesh stack config import MESSAGE
Options
--env-file string --env-file
-h, --help help for import
--json-file string --json-file
--tag stringArray --tag dc.name=app-us-east
Options inherited from parent commands
-e, --environment string environment id or name, otherwise current used from widemesh.json
-s, --stack string stack id or name, otherwise current used from widemesh.json
SEE ALSO
- mesh stacks config - Configurations available to your stack as environment variables