Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
Hi @116davinder! This seems possible. I'll add it to the roadmap, but if someone with a little HCL experience from the community is interested in implementing it, this might be a good issue for them to try.
Proposal
Request to provider internal variable to find job spec absolute path similar to what terraform provides
Ref: https://github.com/hashicorp/terraform/blob/main/internal/addrs/path_attr.go
Terraform Example
Nomad Proposed Example
Use-cases
Since most of my jobs requires templates and I want to reuse them with following syntax so that i can find right folder for templates.
Attempted Solutions
N/A