Job
Last updated
Last updated
The nomad_job
resource allows you to apply one or more Nomad job files to a cluster.
Jumppad monitors changes to the jobs defined in the paths property and automatically recreates this resource when jumppad up is called.
Attributes are the properties of a resource that can be used to configure it.
Cluster cluster
required
NomadCluster
The reference to a cluster to apply the jobs to. Nomad jobs are only applied when the referenced cluster is created and healthy.
Paths paths
required
[]string
Paths to the Nomad job files to apply to the cluster.
HealthCheck health_check
Optional health check to perform after the jobs have been applied, this resource will not complete until the health checks are passing.
These attributes are computed when the config is parsed and applied, and are therefor only known at parsetime or runtime.
Meta ID meta.id
string
The full ID of the resource e.g. `resource.type.name`. This is computed from the full resource path:
Meta Type meta.type
string
The type of the resource. This taken from the type label of the resource definition.
Meta Name meta.name
string
The name of the resource. This taken from the name label of the resource definition.