tvl-depot/ops/terraform
Florian Klink 508d67ad49 refactor(ops/terraform/deploy-nixos): argstr -> argstr_json
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
2024-03-26 19:04:14 +00:00
..
deploy-nixos refactor(ops/terraform/deploy-nixos): argstr -> argstr_json 2024-03-26 19:04:14 +00:00
README.md feat(ops/terraform): add module for deploying NixOS system closures 2023-03-03 10:48:13 +00:00

//ops/terraform

This folder contains Terraform modules and other related Terraform-tooling by TVL.