Remove some ~commit message~ ... uh, code duplication. Change-Id: Id6e8f2132999e153d3984848f95ccabd52e4f45f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5853 Tested-by: BuildkiteCI Reviewed-by: asmundo <asmundo@gmail.com>
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			336 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			336 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { 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 ./.;
 | |
|   };
 | |
| }
 |