I want to start my Nomad cluster with a pre-defined bootstrap token, so that I don’t have to run nomad acl bootstrap
To make the comparison with Consul, we can have the following acl
stanza:
acl = {
enabled = true
tokens {
initial_management = "<consul_bootstrap_token>"
}
}
With the configuration above, when Consul starts, it already has a valid bootstrap token that can be used to create policies, etc.
I would like to know if it’s possible to have the same kind of configuration for Nomad. The idea is not to have to run nomad acl bootstrap
.
I’m running a “dynamic” Nomad cluster that I often destroy and redeploy using Terraform, so I would like to avoid any manual operations.
Thanks