I am trying to create a nomad job for opensearch/elasticsearch and that requires several environment variables to be set but it uses a peculiar naming convention (it allows for dots in the key name). While running the job below nomad throws an error, I havent been able to escape the name in such a way that nomad accepts the job configuration.
Parse Error
input.hcl:49,9-18: Argument or block definition required; An argument or block definition is required here. To set an argument, use the equals sign "=" to introduce the argument value.
I believe that error is pointing to that env block instantiation and that it requires an equals sign. I just tested this locally and got the results I believe you are looking for using the example below.