HashiCorp Learn
Infrastructure
  • TerraformTerraformLearn terraformDocs
  • PackerPackerLearn packerDocs
  • VagrantVagrantLearn vagrantDocs
Security
  • VaultVaultLearn vaultDocs
  • BoundaryBoundaryLearn boundaryDocs
Networking
  • ConsulConsulLearn consulDocs
Applications
  • NomadNomadLearn nomadDocs
  • WaypointWaypointLearn waypointDocs
  • HashiCorp Cloud Platform (HCP) LogoHashiCorp Cloud Platform (HCP)HashiCorp Cloud Platform (HCP)Docs
Type '/' to Search
Loading account...
  • Bookmarks
  • Manage Account
Get Started
  • CLI Quick Start
  • Manage Jobs
  • Web UI
Use Cases
  • Nomad Ecosystem
  • Stateful Workloads
  • Task Dependencies
Production
  • Access Control
  • Advanced Scheduling
  • Governance And Policy
  • Job Failure Handling
  • Job Updates
  • Manage Clusters
  • Recommended Patterns
  • Transport Security
  • Windows
Integrations
  • Consul Service Mesh
  • Load Balancing
  • Monitor
  • Plugins
  • Templates
  • Vault

Use Templating with Nomad

1 hr 33 min4 tutorials

Create dynamic Nomad jobs with templating.

Learn Go Template Syntax

Learn the syntax for Go's text/template package, the basis of the template processing engines in Nomad, Consul, and Vault.

nomad is used in this tutorial11 min

Format Nomad Command Output with Templates

Use Go template syntax to customize the output of many Nomad CLI commands and learn how to explore unknown template contexts.

nomad is used in this tutorial7 min

DRY Nomad Job Specs with Levant

Use Levant to template jobs and reduce repeated elements inside of a job, reducing your efforts in maintaining complex job files.

nomad is used in this tutorial30 min

Make Abstract Job Specs with Levant

Levant enables you to combine templates and context provided as command-line flags or variable files and enables you to abstract away complexity for downstream users.

nomad is used in this tutorial45 min
HashiCorp
  • System Status
  • Terms of Use
  • Security
  • Privacy
stdin: is not a tty