about summary refs log tree commit diff
path: root/third_party/terraform-provider-glesys
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-24T16·16+0300
committertazjin <mail@tazj.in>2021-12-24T19·18+0000
commit6e5ee41c57a733a3514c433f9d5e946c2a22e126 (patch)
tree6722825c9da63631f90f7e65c8e778dc8b93dccd /third_party/terraform-provider-glesys
parent8ca69b1caa763ffe3b2f573c9e0aa25c9d10668c (diff)
feat(3p/terraform-provider-glesys): init at v0.3.1 r/3368
Change-Id: I1c7e398dca824a8606461ac8274f74cbb0764941
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4560
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Autosubmit: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/terraform-provider-glesys')
-rw-r--r--third_party/terraform-provider-glesys/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/terraform-provider-glesys/default.nix b/third_party/terraform-provider-glesys/default.nix
new file mode 100644
index 000000000000..a944af34f99d
--- /dev/null
+++ b/third_party/terraform-provider-glesys/default.nix
@@ -0,0 +1,23 @@
+# GleSYS Terraform provider
+#
+# Some TVL resources (DNS, object storage, ...) are hosted with them.
+{ pkgs, ... }:
+
+pkgs.buildGoModule rec {
+  pname = "terraform-provider-glesys";
+  version = "0.3.1";
+
+  src = pkgs.fetchFromGitHub {
+    owner = "glesys";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1rcwzf31gdxjywkcnlq1nxv4y8fcrc2z2xrp73q61mglv01bqq8m";
+  };
+
+  vendorSha256 = "0g5g69absf0vmin0ff0anrxcgfq0bzx4iz3qci90p9xkvyph4nlw";
+  postInstall = "mv $out/bin/${pname}{,_v${version}}";
+
+  # This provider is not officially published in the TF registry, so
+  # we're giving it a fake source here.
+  passthru.provider-source-address = "registry.terraform.io/depot/glesys";
+}