Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

tofuutils/tenv-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maintenance status

Caution

⛔️This repository is no longer supported because the tenv derivation has been merged into NixOS/nixpkgs.

tenv Nix

This project provides a Nix derivation for the tenv version manager, allowing you to easily install and use tenv within a Nix environment.

Welcome to tenv, a versatile version manager for OpenTofu, Terraform and Terragrunt, written in Go. Our tool simplifies the complexity of handling different versions of these powerful tools, ensuring developers and DevOps professionals can focus on what matters most - building and deploying efficiently.

tenv is a successor of tofuenv and tfenv.

Prerequisites

  • Nix package manager installed on your system

Usage

  1. Clone this repository:

    git clone https://github.com/tofuutils/tenv-nix.git
    cd tenv-nix
  2. Build the Nix derivation:

    nix-build shell.nix
  3. Enter the Nix shell environment:

    nix-shell shell.nix
  4. Use tenv commands inside the Nix shell:

    tenv --version
    tenv tf install <version>
    tenv use <version>

    To get more information about tenv, read README.md

Configuration

  • default.nix: Contains the Nix derivation for tenv.
  • shell.nix: Defines the Nix shell environment with tenv and other dependencies.
  • versions.nix: Specifies the versions of tenv and other packages used in the project.
  • packages.nix: Lists the common packages included in the Nix shell environment.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

References

  • tenv - Version manager for OpenTofu
  • OpenTofu - Configuration language and processor
  • Tofuenv - Version manager for OpenTofu
  • tofuenv-nix - This project provides a Nix derivation for tofuenv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages