mesh 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 config import [flags]

Examples

$ heroku config -j | mesh config import --json-file=-
$ echo '{"MESSAGE": "message in a json file"}' | mesh config import --json-file=-
$ mesh config import --json-file=env.json
$ mesh config import --env-file=.env
$ MESSAGE='sample env variable message' && mesh 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 config - Configurations available to your stack as environment variables