diff --git a/command/init.go b/command/init.go index b83c7cea9..b9e7ac43e 100644 --- a/command/init.go +++ b/command/init.go @@ -337,6 +337,15 @@ job "example" { # change_signal = "SIGHUP" # } + # The "template" stanza can also be used to create env vars for tasks + # that prefer those to config files. + # + # template { + # data = "KEY={{ key \"service/my-key\" }}" + # destination = "local/file.env" + # env = true + # } + # The "vault" stanza instructs the Nomad client to acquire a token from # a HashiCorp Vault server. The Nomad servers must be configured and # authorized to communicate with Vault. By default, Nomad will inject