about summary refs log tree commit diff
path: root/ops/keycloak/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/keycloak/default.nix')
-rw-r--r--ops/keycloak/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/ops/keycloak/default.nix b/ops/keycloak/default.nix
new file mode 100644
index 000000000000..94ed912dc936
--- /dev/null
+++ b/ops/keycloak/default.nix
@@ -0,0 +1,14 @@
+{ depot, lib, pkgs, ... }:
+
+depot.nix.readTree.drvTargets rec {
+  # Provide a Terraform wrapper with the right provider installed.
+  terraform = pkgs.terraform.withPlugins (p: [
+    p.keycloak
+  ]);
+
+  validate = depot.tools.checks.validateTerraform {
+    inherit terraform;
+    name = "keycloak";
+    src = lib.cleanSource ./.;
+  };
+}