Combining Nix with Terraform for better DevOps

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nixpkgs-terraform

    A collection of Terraform versions that are automatically updated.

  • In that light, we’re thrilled to announce the release of nixpkgs-terraform! This Nix project significantly enhances the flexibility and control of your Terraform environment, making its installation and management declarative and reproducible. This is largely thanks to Nix and its unique capabilities for precisely pinning packages to a version, ensuring its consistency across different environments. Forget about writing documentation on environment setup - just use one of the provided templates to bootstrap your Terraform installation and get the whole team on the same version with minimal manual intervention.

  • nixpkgs-python

    All Python versions, kept up-to-date on hourly basis using Nix.

  • At Stack Builders, our DevOps/SRE team uses nix-shells to install all of the necessary tooling to work on various Infrastructure-as-Code projects across the board. However, while nix-shells are useful for creating portable development environments, more fine-grained control over the different Terraform versions was lacking. We've taken inspiration from nixpkgs-python and nixpkgs-ruby, and we're grateful for the paths they've paved.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nixpkgs-ruby

    A Nix repository with all Ruby versions being kept up-to-date automatically

  • At Stack Builders, our DevOps/SRE team uses nix-shells to install all of the necessary tooling to work on various Infrastructure-as-Code projects across the board. However, while nix-shells are useful for creating portable development environments, more fine-grained control over the different Terraform versions was lacking. We've taken inspiration from nixpkgs-python and nixpkgs-ruby, and we're grateful for the paths they've paved.

  • nixpkgs

    Nix Packages collection & NixOS

  • We’ve noticed that some users have been asking about how to use older versions of Terraform in their Nix setups [1, 2]. This is an example of the diverse needs of people and the importance of maintaining backward compatibility. We hope that nixpkgs-terraform will be a useful tool for these users.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts