about summary refs log tree commit diff
path: root/ops/glesys/default.nix
blob: e511e1f6b686675e685bca9b9f28cfd3980a70f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ depot, lib, pkgs, ... }:

depot.nix.readTree.drvTargets rec {
  # Provide a Terraform wrapper with the right provider installed.
  terraform = pkgs.terraform.withPlugins (_: [
    depot.third_party.terraform-provider-glesys
  ]);

  validate = depot.tools.checks.validateTerraform {
    inherit terraform;
    name = "glesys";
    src = lib.cleanSource ./.;
    env.GLESYS_TOKEN = "ci-dummy";
  };
}