r/Terraform • • Aug 19 '23

Help Wanted Petition to have u/azure-terraformer banned from this subreddit

10 Upvotes

Over the past few weeks, he has spammed this channel with his YouTube videos and completely filled the subreddit with his self promotional content. Time to go


r/Terraform • • Aug 31 '23

Terraform 1.6 Beta Released!

0 Upvotes

The Terraform Team is excited to announce the 1.6 beta!

This version brings an entirely new testing framework natively within Terraform. See the documentation for this here.

We’ve also made improvements the the import{} block id field now accepts expressions referring to other values such as resource attributes, as long as the value is a string known at plan time.

Please see the full changelog here.

The release can be downloaded at Terraform v1.6.0-beta1 Binaries | HashiCorp Releases

Would love to here feedback. Please respond here or directly email me at [email protected].

Thanks!


r/Terraform • • Sep 20 '21

Terraform is not the Golden Hammer

0 Upvotes

Hi,

I've written this article, feedback oriented on Terraform with Helm usage:

https://hub.qovery.com/guides/engineering/terraform-not-the-golden-hammer/

Hope it will help


r/Terraform • • Jun 17 '26

Help Wanted Terraform vs Pulumi vs OpenToFu, is Pulumi good?

0 Upvotes

What’s a good alternative to Hashicorp?

Im close to the end of the free trial,
Im using Vultr for VMs.

Vultr works well with TF,

I like how hashicorp you can see runs and errors,

Does Pulumi have that?


r/Terraform • • Dec 09 '25

Discussion Quick breakdown of how a basic VPC differs across AWS, GCP, and Azure

1 Upvotes

I put together a short comparison of how a simple VPC setup behaves across the three major clouds. It highlights:

  • how NAT costs differ

  • subnet and routing quirks

  • endpoint pricing surprises

  • scaling limits you don’t always catch in the docs

  • common defaults that quietly change your bill or architecture

If you work with Terraform or multi-cloud networking, this might save you a bit of digging:
https://cloudgo.ai/resources/cross-cloud-VPC-example

For context, this is generated using a tool I’ve been building. I started working on it in college because I kept getting stuck bouncing between docs and pricing pages just to answer basic Terraform questions. Sharing here because I figured others might find the comparisons useful too.


r/Terraform • • Jun 11 '25

Terraform users - does this list of issues resonate? Feedback welcome.

Thumbnail
gallery
0 Upvotes

Hey r/Terraform,

Over the past few months, I’ve been speaking with Terraform users across startups, enterprises, and cloud-native teams - 20+ in-depth conversations.

The result? A raw, no-fluff doc:

👉 State of Terraform at Scale 2025

It’s not polished. Just real pain points, blunt quotes, and messy workarounds from folks running Terraform at scale.

Curious to hear:

  • What do you disagree with? Anything exaggerated or missing? Solved any of these cleanly?

  • Call out the BS, share your war stories - would love your take.

Thanks!


r/Terraform • • Jun 23 '25

Tutorial I wrote a beginner-friendly Terraform guide – now featured on Leanpub

Thumbnail leanpub.com
0 Upvotes

Hey everyone,

I recently wrote a short, focused ebook to help beginners get started with Terraform using free tools like GitHub and GitHub Actions. It’s aimed at devs who are new to Infrastructure as Code and want a practical intro without setting up AWS or paying for cloud credits.

I kept it short and simple, with clear explanations. The book just got featured in a bundle on Leanpub, so I thought I’d share it here in case anyone is learning or teaching Terraform.

https://leanpub.com/terraform-beginners-guide

Open to feedback or improvements! And if you know someone trying to get into Terraform, feel free to pass it along.

Thanks!


r/Terraform • • Dec 01 '23

OpenTofu Day is Happening as a KubeCon Europe Co-located Event

Thumbnail
events.linuxfoundation.org
1 Upvotes

r/Terraform • • Sep 23 '23

When do you use terraform

0 Upvotes

Hi all, when do we need to use terraform compared to aws, google cloud and azure. This might be a dumb question?? But wanna understand. Thanks


r/Terraform • • Aug 29 '24

Discussion Programming language support

0 Upvotes

If you hate the idea of using programming languages for IaC, just please look away. But if you like the concept of using programming constructs like loops, conditionals, common libraries, etc when authoring IaC, here is an easy way to try it out in Pulumi now. You may have previously not tried it out because the packages you used weren't supported, so you can now take any Terraform provider and generate a Pulumi package. Try it out? Happy to answer any questions.

https://www.pulumi.com/blog/any-terraform-provider/


r/Terraform • • Aug 19 '26

AWS Spinifex: Open Source, air-gapped, local AWS infra (Looking for feedback)

0 Upvotes

Hi! We've been working on Spinifex, which recreates core AWS services such as EC2, EKS, and S3, but completely locally (and even air-gapped if needed). It also works with Terraform, so you can point your existing config files at your own hardware, swap the endpoints, and get a local version of your cloud deployment with no change to the workload itself.

It's open-source and we'd love some early stage feedback on our weekly updates, open to notes and critiques!

GitHub: https://github.com/mulgadc/spinifex


r/Terraform • • Oct 06 '23

Will you be migrating to Opentofu or staying with Terraform?

4 Upvotes

Note this post isn't meant to be aggravating or inflammatory, please have a constructive concrete reason you are migrating or not and if migrating what would change your mind.

Also please don't just vote out of spite, let's get real information that is useful.

1508 votes, Oct 11 '23
1074 Terraform
434 Opentofu

r/Terraform • • Jul 12 '22

Discussion 10 terraform best practices

0 Upvotes

Some of the Terraform best practices I recommend to adopt while writing your Terraform configuration files.

  1. Host Terraform code in the Git repository

  2. Use .gitignore to exclude terraform State Files, State Directory Backups, and Core Dumps

  3. Use a Consistent File Structure

  4. Auto format Terraform files

  5. Avoid Hard Coding Resources

  6. Follow Naming Convention

  7. Use the self variable

  8. Use Modules

  9. Run Terraform Command with var-file

  10. Manage Terraform State on a Remote Storage

Do you follow other best practices?
Share them!


r/Terraform • • Jul 10 '22

Terraform CLI is the fastest install I have ever seen on Homebrew 🥹

Post image
0 Upvotes

r/Terraform • • Mar 12 '26

How building a Terraform module made me fall in love with CloudFormation

Thumbnail runs-on.com
2 Upvotes

CloudFormation has evolved a lot over the years, and for some projects it might just be the right fit. This article reflects on the journey for porting a CloudFormation-only project to Terraform/Opentofu


r/Terraform • • Jun 23 '25

Azure Your Terraform platform isn’t scaling — because the platform isn’t automated

0 Upvotes

You can spin up cloud infrastructure in seconds with Terraform.
But what about the platform that runs the automation?

In my latest post, I break down how most teams (including past me 🙋‍♂️) build on a shaky foundation:

  • CI/CD pipelines wired together by hand

  • Service principals created via ticket

  • Workspaces and secrets managed manually

  • No code or history behind the tooling

The production infra looks great… but the back office is still a mess.

To fix that, I started treating the platform itself as infrastructure. In this post, I share how I built a layered “root layer” model with Terraform Cloud, Azure, GitHub, and Entra:

🔧 Highlights:

  • How to bootstrap the automation platform (not just the app stack)

  • Why separate workspaces for root, environments, and modules actually helps

  • What credentials you really need to automate service principals and pipelines

  • Lessons from running this across multiple orgs (including finance, health, and non-profits)

📖 Full write-up:
👉 https://jamesrcounts.com/2025/06/22/why-your-terraform-platform-isnt-scaling.html

Curious how others are handling this — are your platforms self-automated, or still running on hope and tickets?


r/Terraform • • Jan 20 '25

Discussion The most updated terraform version before paid subscription.

0 Upvotes

Hello all!.

We're starting to work with terraform in my company and we would like to know what it's the version of terraform before to paid subscription.

Currently we're using terraform in 1.5.7 version from github actions and we would like to update to X version to use a new features for example the use of buckets in 4.0.0 version.

Anyone can tell me if we update the version of terraform we need to pay something?? or for the moment it's full free before some news??

We would like to prevent some payments in the future without knowledge.

Thanks all.


r/Terraform • • Oct 04 '23

Announcement OpenTofu Publishes First Alpha Release

Thumbnail
github.com
12 Upvotes

r/Terraform • • Mar 29 '26

Discussion Am I slow?

0 Upvotes

As a full‑stack engineer, I consider myself cloud‑native*because of my experience working in AWS, but I’m having a hard time creating Terraform from scratch.

I can put together a structured project with networking resources and managed services, but I feel like if I really want to work as a solutions architect or cloud engineer, I should be able to do this much faster without using the internet as much.

For example, on my personal project it took me about four hours to create a CodePipeline from my frontend Next.js repo to sync to an S3 bucket behind CloudFront.

I work with a lot of tech and forget things often, which means I Google and use ChatGPT a lot. Maybe this is just the new way of doing engineering. I ask ChatGPT questions like, “What should I add to my buildspec to fix this error?” and then paste the stack trace.

Is this how you all do it too?


r/Terraform • • Sep 03 '22

Can we have multiple main.tf with same dir?

0 Upvotes

My requirement is to deploy multiple instances but don't wanted to main all instances code on single main tf file. Is that possible to use multiple main tf file and run the terraform apply for all instance configurations?


r/Terraform • • Dec 25 '21

Discussion Best practice for duck and egg issues

0 Upvotes

How do you handle duck and egg issues regarding your environment managed by tf? When building concepts to manage as much of our cloud resides in Azure I always reach the one step were tf ends, eg seeing up management groups or resource groups or shared tf storage... How do you handle this? Where do you end with manual management and start using tf in your teams?


r/Terraform • • Aug 23 '23

Terraform License Change and Providers

1 Upvotes

So with the new license change is that just for the terraform binary or does the include providers as well. Because I know for a fact that their AWS provider has code done by AWS. AWS generally is a champion of open source software (generally so that they don't have to pay), but they do generally give back to the community in development work. With all of that being said, if openTF becomes a thing does that mean we can't use providers from terraform? That seems really silly. Also, would we switch away from HCL (I hope not in some ways, but hope it gets extended)? Why haven't we heard from AWS or Azure about how this is going to affect them? Also, I'm pretty sure that Microsoft helps with code and I know AWS has written parts of the AWS provider.


r/Terraform • • Sep 16 '26

Discussion Terraform + Vagrant: Why are these separate tools?

4 Upvotes

I've been using Terraform for a while and really like it. Recently, I stumbled across Vagrant and started looking into how the two differ.

I understand that Vagrant is more focused on creating and managing local development environments, while Terraform is focused more broadly on infrastructure management.

But I'm still curious about something:

Why couldn't Vagrant's functionality have been implemented as a Terraform provider?

From my understanding of Terraform providers, they allow Terraform to interact with different infrastructure platforms and resources, so I initially wondered if Vagrant could essentially have been another provider that handled local VMs and development environments.

I'm probably missing some important architectural distinction here, so I'd love to hear from people who actively use both:

  • What does Vagrant do that would be difficult or inappropriate to model as a Terraform provider?

  • Are there situations where you would actually use both together?

  • If you've used both extensively, how do you think about the boundary between them?

Genuinely curious to hear how people with more experience in this space think about it.


r/Terraform • • Sep 05 '26

Discussion I built an MCP server that checks Terraform while AI is writing it

19 Upvotes

I've been experimenting with AI coding agents writing infrastructure, and one thing kept bothering me:

AI can generate valid Terraform that is also insecure Terraform.

For example, you ask:

"Add an RDS instance for my orders service."

The model can happily generate Terraform that is missing encryption, deletion protection, backups, etc.

By the time CI catches it, you've already generated the code, opened a PR, waited for checks, and gone through review.

So I built Sovereign Observer, an MCP server that runs locally and lets Claude Code, Cursor, VS Code/Copilot, etc. scan the Terraform as it's being generated.

The workflow is basically:

AI writes Terraform → MCP scans it → findings are returned → AI fixes them → scan again.

It currently supports:

  • Terraform/IaC security scanning

  • Finding explanations + exact remediation

  • Safe mechanical fixes

  • Hardened resource templates

  • SOC 2 / ISO 27001 / NIST / PCI-DSS / DORA / NIS2 mappings

  • Organization-specific security requirements

  • Runs locally so Terraform doesn't need to leave your machine

It's available on PyPI if anyone wants to try it:
pip install sovereign-observer

If you guys think it needs more refinement or you wish it did something more then pls lmk!