Tool to encode HCL to proper JSON format for Nomad's "/v1/parse" endpoint.
3.3K
Nomad-parse-json is a simple public docker image that will encode an HCL defined Nomad job into the JSON body required for the Nomad /v1/parse endpoint.
To use:
curl \
--request POST \
--data "`docker run -i --rm -e CANONICALIZE=true djenriquez/nomad-parse-json:latest < hello-world.nomad`" \
http://localhost:4646/v1/jobs/parse
Content type
Image
Digest
Size
48.5 MB
Last updated
almost 8 years ago
docker pull djenriquez/nomad-parse-json