about summary refs log blame commit diff
path: root/ops/glesys/default.nix
blob: e511e1f6b686675e685bca9b9f28cfd3980a70f6 (plain) (tree)
1
2
3
4
5
6
7
8
                          
 
                                   
                                                                  
                                              

                                               
 





                                                   
 
{ 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";
  };
}