-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1100 from stackbuilders/fix_terraform_example
fix: Terraform example
- Loading branch information
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
terraform --version | grep "1.7.4" | ||
terraform --version | grep "1.5.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
{ pkgs, ... }: | ||
|
||
{ | ||
# For versions >= 1.6.0 open a shell by running the following command: | ||
# | ||
# env NIXPKGS_ALLOW_UNFREE=1 devenv --impure shell | ||
languages.terraform = { | ||
enable = true; | ||
version = "1.7.4"; | ||
version = "1.5.6"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
allowUnfree: true | ||
inputs: | ||
nixpkgs-terraform: | ||
url: github:stackbuilders/nixpkgs-terraform | ||
url: github:stackbuilders/nixpkgs-terraform |