diff options
author | Florian Klink <flokli@flokli.de> | 2024-03-21T16·06+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-03-26T19·04+0000 |
commit | 508d67ad49917c293c34f3c9ca59adcea02ea3ef (patch) | |
tree | 83029ca2f5d5846f907d2bfef4630584356b2387 /corp | |
parent | f055c75bc0f8f01f0e7b1d397210c62584cd5ec3 (diff) |
refactor(ops/terraform/deploy-nixos): argstr -> argstr_json r/7783
At least terraform wants all parameters passed via JSON to be strings. It can't accept maps. This means, allowing to pass a `argstr` JSON dict isn't really possible. However, terraform is perfectly able to JSON-encode a map. So accept a `argstr_json` argument instead, which `jq` will JSON-decode before further processing it. I dropped `argstr` support again so the jq expression still fits on my screen, if anyone else (started) using this, I'm happy to review a CL adding this. We should probably move the jq expression to some multiline format then, though. Change-Id: I5ab7a1169ab7305d3ab02db31c27732d9d1ab4e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11228 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'corp')
0 files changed, 0 insertions, 0 deletions