mesh config set

sets variables values in stacks

Synopsis

You can use this command to set environment variables in stacks that are propagated to all its services

mesh config set [flags]

Examples

$ mesh config set MESSAGE="Hello World"
$ echo "Hello World" | config set --stdin MESSAGE=-
$ mesh config set --file MESSAGE=./message.txt
		

Options

      --file              --file
  -h, --help              help for set
      --stdin             --stdin
      --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