Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    G

    Gruntwork Blog

    blog.gruntwork.io · Company blog · on HN since 2016

    Gruntwork, a DevOps consultancy, writes about Terraform, infrastructure testing, and open source tooling for managing cloud infrastructure.

    Visit blogHN submissions
    DevOps & CloudOpen Source & Linux
    What HN says

    HN commenters point to its post on keeping Terraform open as the best explanation of the OpenTofu fork, and cite its infra-code business.

    Stats for nerds
    42HN people shared it
    44linked in comments
    935story points
    Mar 2026last shared
    2016people per year2026

    Top posts on HN

    1. 1
      Lessons Learned from Writing Over 300k Lines of Infrastructure Code
      1 person · 344 points · first shared 2018 · 153 comments on HN
    2. 2
      Docker, Kubernetes, Terraform, and AWS crash course series
      1 person · 208 points · first shared 2022 · 82 comments on HN
    3. 3
      Open sourcing Terratest: tools for testing infrastructure code
      2 people · 107 points · first shared 2018 · 10 comments on HN
    4. 4
      It's Time to Switch to OpenTofu
      1 person · 67 points · first shared 2025 · 24 comments on HN
    5. 5
      Why prod is down
      2 people · 57 points · first shared 2017 · 12 comments on HN
    6. 6
      Five Years of Gruntwork
      1 person · 38 points · first shared 2021 · 2 comments on HN
    7. 7
      The Future of Terraform Must Be Open
      1 person · 28 points · first shared 2023 · 1 comments on HN
    8. 8
      Git-Xargs
      2 people · 16 points · first shared 2021 · 4 comments on HN
    9. 9
      A Comprehensive Guide to Terraform
      2 people · 7 points · first shared 2016 · Discussion on HN
    10. 10
      How we got to $1M in annual recurring revenue with $0 in fundraising
      1 person · 5 points · first shared 2018 · Discussion on HN

    What HN people wrote when they linked it

    • brikis98Nov 2016

      Gruntwork (http://www.gruntwork.io/) | Anywhere | DevOps | Contractor

      At Gruntwork, we offer DevOps as a Service.

      Our mission is to make it an order of magnitude easier to understand, develop, and deploy software. The first step in that direction is to take the thousands of hours we’ve spent building infrastructure and to condense all that experience and code into pre-assembled Infrastructure Packages. Each Infrastructure Package is a best-practices definition of a single piece of infrastructure (e.g. a Docker cluster or a relational database) that is reusable, battle-tested, documented, configurable, and supported (read more here: https://blog.gruntwork.io/gruntwork-infrastructure-packages-7434dc77d0b1).

      In other words, we're like a DevOps team that has already built everything you need. We give customers 100% of the source code for our packages and we offer a subscription that includes support, package updates, access to the Gruntwork community, security alerts, proactive maintenance, and more.

      We are looking for Full Stack Engineers, DevOps Engineers, and AWS experts. We make heavy use of Terraform, Docker, Packer, AWS, and Go. Currently, we have one project where we're looking for experts in the Windows environment (e.g. IIS, SQL Server, Active Directory) and one where we are looking for an expert on Kubernetes. We are a completely distributed company, so location doesn't matter, and the work is 100% remote.

      If you're interested, email us at careers@gruntwork.io.

    • mixedCaseAug 2022

      I've written code like that for clients (and specifically executed a transition from bare metal+shell scripts to EKS for a "generic backend" module once), but I can't publish any of it for unfortunate obvious reasons. But FWIW I think it's inherent to IaC to involve a lot of copy-pasta, sometimes your best abstraction will just lead to shifting the copy-pasta from code to call-sites, which tends to be more maintainable but still.

      What I can recommend is to treat your modules for what they are: Public library functions. Meaning common sense advice for those applies:

      - Approach writing modules by actually designing an API for it. Don't treat it as a folder to dump resources in.

      - Make your API as small as you can get away with.

      - Its variables and outputs should be, whenever possible, describe a generic black box that could have its internals swapped.

      - Make modules composable where you can. Being able to pass around entire module instances in variables because they have clean, stable APIs is very nice.

      - Accept some things will inevitably leak but put in the effort to minimize them.

      This blog post and the book from the authors (Terraform Up & Running) has some good ideas that got me started with the basics, but there's not much written with regards to more involved usecases: https://blog.gruntwork.io/how-to-create-reusable-infrastructure-with-terraform-modules-25526d65f73d

    • gazoakleyApr 2020

      Take a look at this talk - it explains what both tools do and how they can work together well:

      https://www.hashicorp.com/resources/ansible-terraform-better-together/

      TLDW; You can do resource management (e.g. creating EC2 instances in AWS) and deployment (e.g. installing packages on an instance) through both Terraform and Ansible. Terraform is best used for resource management - the documentation states using the "provisioning"/deployment function is a last resort. Ansible is great at deploying packages but less so at resource management for the reasons you'll see in the other comments. Either use them together for what they're good at, or use Terraform to do resource management and other techniques (such as prebuilt images) for deployment:

      https://www.terraform.io/docs/provisioners/index.html

      Also useful:

      https://blog.gruntwork.io/why-we-use-terraform-and-not-chef-puppet-ansible-saltstack-or-cloudformation-7989dad2865c

    • likwitjunkieMar 2026

      We just released Terragrunt 1.0.

      Notable updates:

      - Terragrunt Stacks. A modern way to define higher-level infrastructure patterns, reduce boilerplate, and manage large estates without losing independently deployable units.

      - Streamlined CLI. A less verbose, more consistent; `run` replaces `run-all`, and new commands `exec`, `backend`, `find`, and `list`.

      - Filters `--filter`. One targeting/query system to replace several older targeting flags, plus new capabilities for selecting units/stacks.

      - Performance improvements, especially if you’re upgrading from older Terragrunt versions, and automatic shared provider cache when using OpenTofu ≥ 1.10.

      - And an explicit backwards compatibility guarantee. Gruntwork is making a formal commitment to backwards compatibility for Terragrunt across the 1.x series.

      Read the full announcement https://www.gruntwork.io/blog/terragrunt-1-0-released

      Questions/feedback welcome.

    • joshpadnickMar 2017

      We (http://gruntwork.io) are still establishing best practices around managing multiple AWS accounts, but so far having a single "admin" account where all IAM Users are managed seems like a best practice. You can then implement a nifty dropdown that allows IAM Users to easily switch accounts. [1] I'm not sure about how IAM Groups fits into this.

      For IAM Roles, we use Infrastructure-as-Code (Terraform) to create all those anyway, so I still prefer to create those in the AWS account that contains the resources to which they apply.

      [1] https://aws.amazon.com/blogs/security/enable-a-new-feature-in-the-aws-management-console-cross-account-access/

    • ericjohannsenOct 2024

      Gruntwork (https://gruntwork.io) | Golang Engineer - Open Source | Worldwide Remote | Contract

      Gruntwork is hiring a senior Golang engineer to focus specifically on Open Source projects, primarily OpenTofu but also Terragrunt and other tools.

      Work collaboratively with the open source community to design and implement innovative new features at the frontier of devops tooling.

      Help maintain and improve the quality of our codebase, infrastructure, and documentation.

      Review and provide feedback on pull requests from the community and team members.

      https://jobs.ashbyhq.com/Gruntwork/a6b852e6-2ab6-4eaf-b643-37b080633f1b

    Related

    Spacelift Blogspacelift.io25 people

    Tricking PostgreSQL into using an insane, but faster, query plan

    Spacelift Blog
    Company · last shared 2026
    Graphite Bloggraphite.dev76 people

    Stacked changes: how FB and Google engineers stay unblocked and ship faster

    Graphite Blog
    Company · last shared 2026
    Cloud Foundry Blogcloudfoundry.org47 people

    How Cloudfuji (S11) uses Cloud Foundry to make open source Apps big business

    Cloud Foundry Blog
    Company · last shared 2025
    Atlassian Blogblogs.atlassian.com154 people

    Git? tig

    Atlassian Blog
    Company · last shared 2023
    OpenTofu Blogopentofu.org30 people

    OpenTofu Response to HashiCorp's Cease and Desist Letter

    OpenTofu Blog
    Company · last shared 2026
    Rust Blogblog.rust-lang.org533 people

    Announcing Rust 1.0

    Rust Blog
    Company · last shared 2026
    Graham Jenkinsdarkcoding.net44 people

    Facebook’s code quality problem (2015)

    Graham Jenkins
    Personal · last shared 2025
    Weaveworks Blogweave.works71 people

    Linux Namespaces and Go Don't Mix

    Weaveworks Blog
    Company · last shared 2025