How do I find out which version of consul-template is used by vault agent?

consul-template has a bugfix included in v0.28.0 that I need to use to get my Windows vault agent running correctly. Which version of vault agent binary do I need to use, and how do I tell which version of the template language is used in future?

Thanks!

You can see the version included in the go.mod file in the source code:

Unfortunately there is no easy way of finding what version of the template in the final release. The two options are, read the release notes, ex: vault 1.11 has a note such as
agent: Update consult-template to v0.29.0 [GH-15293]

Or you can look at the go.mod file at each tag to see the version of the dependency that is being included at that tag level – it’s a little more difficult but doable.