In the runtime environment section of the Nomad docs there are a few other (environment) variables listed, including NOMAD_REGION and NOMAD_DC. Perhaps you can use those.
The wording “Below is a table documenting common node properties:” on the page has me confused a bit. Are there more properties? What are they? Where are they? so-on and so forth.
Also it isn’t always spelt out which syntax can be used where, i.e. which form can be used in the constraint stanza, which one in the artifact section. Most of these things “develop” over time by trial-and-error.
Starting the Nomad agent in “dev” mode, and I see the following using the command:
The main reason for asking the original question was that, when proposing a Nomad+Consul (+Vault) architecture for re-architecting existing applications, there is always a bright who ends up asking something which is not already there in the docs (of course) and I wanted a fixed place to point folks to.
Unfortunately, in the short term, the only definitive listing of all of the fingerprinted material would be in the individual bits of fingerprinting code. For example, the AWS metadata:
And the GCP one:
We certainly can/should do more to document these; I know I’ve had to dig through these a few times myself.