about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-24T16·23+0300
committerclbot <clbot@tvl.fyi>2021-12-24T19·21+0000
commit21b2055eb14ddaf7893f0a0a53b2a145b2f0e230 (patch)
treef96b644ddd297918544b00aba555c75630ecd0e9 /ops
parent6e5ee41c57a733a3514c433f9d5e946c2a22e126 (diff)
feat(ops/glesys): Provide tf-glesys wrapper r/3369
This provides the right Terraform provider with a wrapper in $PATH.

Change-Id: Idcb4fa89dff0161e8a73addfce81959e825c331e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4562
Tested-by: BuildkiteCI
Autosubmit: tazjin <mail@tazj.in>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'ops')
-rw-r--r--ops/glesys/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/ops/glesys/default.nix b/ops/glesys/default.nix
new file mode 100644
index 000000000000..f4c0478c5d89
--- /dev/null
+++ b/ops/glesys/default.nix
@@ -0,0 +1,8 @@
+{ depot, pkgs, ... }:
+
+depot.nix.readTree.drvTargets {
+  # Provide a Terraform wrapper with the right provider installed.
+  terraform = pkgs.terraform.withPlugins(_: [
+    depot.third_party.terraform-provider-glesys
+  ]);
+}