Service configuration management: Best practice(s)

Answering our own question… (of course this is our own imperfect take):

It appears the way to have Terraform manage Consul services is via the Nomad provider resources.

While that HashiCorp blog post mentions use of the Nomad template stanzas, it is not clear if additional flexibility might come from using Consul-Template - care would need to be taken to ensure this doesn’t cause too much drift from the Terraform state information - so we think best to avoid Consul-Template until the Nomad template stanza can’t do what is needed.

Appreciate any other thoughts.

We hope this assists someone else too.

Users interested in this issue/question might also be interested in this related Nomad topic:

1 Like