Skip to content

Instantly share code, notes, and snippets.

@shoenig
Created March 27, 2023 16:04
Show Gist options
  • Save shoenig/d00f93c8f29f721caa95857caf19e9b2 to your computer and use it in GitHub Desktop.
Save shoenig/d00f93c8f29f721caa95857caf19e9b2 to your computer and use it in GitHub Desktop.
json example
{
"JobHCL":"variable \"X\" {\n type = string\n}\n\nvariable \"Y\" {\n type = number\n}\n\nvariable \"Z\" {\n type = bool\n}\n \njob \"demo\" {\n type = \"sysbatch\"\n group \"group\" {\n task \"task\" {\n driver = \"raw_exec\"\n\n config {\n command = \"echo\"\n args = [\"X ${var.X}, Y ${var.Y}, Z ${var.Z}\"]\n }\n\n resources {\n cpu = 10\n memory = 16\n }\n }\n }\n}\n",
"Variables": {
"X": "x",
"Y": 42,
"Z": true
},
"Canonicalize":true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment