about summary refs log tree commit diff
path: root/ops/github/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/github/default.nix')
-rw-r--r--ops/github/default.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/ops/github/default.nix b/ops/github/default.nix
deleted file mode 100644
index a36aa12..0000000
--- a/ops/github/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ pkgs }:
-let
-  terraform = pkgs.terraform.withPlugins (p: [
-    p.google
-    p.github
-  ]);
-in
-pkgs.stdenv.mkDerivation rec {
-  name = "tf-github";
-  src = ./.;
-
-  init = pkgs.writeShellScriptBin "tf-github-init" ''
-    set -ueo pipefail
-    cd $(git rev-parse --show-toplevel)/ops/github
-    ${terraform}/bin/terraform init
-  '';
-
-  plan = pkgs.writeShellScriptBin "tf-github-plan" ''
-    set -ueo pipefail
-    cd $(git rev-parse --show-toplevel)/ops/github
-    ${terraform}/bin/terraform plan
-  '';
-
-  apply = pkgs.writeShellScriptBin "tf-github-apply" ''
-    set -ueo pipefail
-    cd $(git rev-parse --show-toplevel)/ops/github
-    ${terraform}/bin/terraform apply
-  '';
-}