I'm trying to run the command on the Nomad file:
nomad job run -address="http://10.10.5.11:4646" file.hcl
And I get an error:
Error getting job struct: Error parsing job file from file.hcl: error parsing 'job': 3 errors occurred:
* group: 'prometheus' -> invalid key: network
* group: 'prometheus' -> invalid key: volume
* group: 'prometheus' -> invalid key: service
Usually there is such an error if a non-.hcl file is parsed, but in this case everything is correct. Checked the dependencies of the Nomad package, granted the rights to execute the file