Skip to content

Commit

Permalink
Add tests for language.terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-izval committed Mar 11, 2024
1 parent c3a04d0 commit ea2a70d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/terraform/.test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -ex
terraform --version | grep "1.7.4"
8 changes: 8 additions & 0 deletions examples/terraform/devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ pkgs, ... }:

{
languages.terraform = {
enable = true;
version = "1.7.4";
};
}
6 changes: 6 additions & 0 deletions examples/terraform/devenv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
allowUnfree: true
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixpkgs-unstable
nixpkgs-terraform:
url: github:stackbuilders/nixpkgs-terraform

0 comments on commit ea2a70d

Please sign in to comment.