Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tfswitch: init at 0.12.1119 #129346

Merged
merged 2 commits into from
Jul 6, 2021
Merged

tfswitch: init at 0.12.1119 #129346

merged 2 commits into from
Jul 6, 2021

Conversation

psibi
Copy link
Member

@psibi psibi commented Jul 5, 2021

Motivation for this change

Add tfswitch which allows to easily manage different terraform
versions for different projects.

Tested it locally on a NixOS machine:

$ tfswitch --bin=/home/sibi/bin/terraform
Reading required version from terraform file
Reading required version from constraint: ~> 0.13.0
Matched version: 0.13.7
Switched terraform to version "0.13.7"
$ terraform version
Terraform v0.13.7
+ provider registry.terraform.io/hashicorp/aws v2.70.0

Your version of Terraform is out of date! The latest version
is 1.0.1. You can update by downloading from https://www.terraform.io/downloads.html
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Relase notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

psibi added 2 commits July 6, 2021 10:14
Add tfswitch which allows to easily manage different terraform
versions for different projects.
@SuperSandro2000 SuperSandro2000 merged commit 3789862 into NixOS:master Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants