Retrieve a list of deployments in Nomad.
data "nomad_deployments" "example" {}
The following attributes are exported:
deployments
: list of maps
a list of deployments in the cluster.
ID
: string
Deployment ID.JobID
: string
Job ID associated with the deployment.JobVersion
: string
Job version.Status
: string
Deployment status.StatusDescription
: string
Detailed description of the deployment's status.