An open API service indexing awesome lists of open source software.

https://github.com/djenriquez/nomad-parse-json

Tool to encode HCL to proper JSON format for Nomad's "/v1/parse" endpoint.
https://github.com/djenriquez/nomad-parse-json

Last synced: about 1 month ago
JSON representation

Tool to encode HCL to proper JSON format for Nomad's "/v1/parse" endpoint.

Awesome Lists containing this project

README

        

# nomad-parse-json
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
```