Read terraform blog posts at TO THE NEW Blog https://www.tothenew.com/blog Thu, 30 Jul 2026 10:24:52 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.2 Terraform State Migration: Seamlessly Moving from AWS S3 to Google Cloud Storage https://www.tothenew.com/blog/terraform-state-migration-seamlessly-moving-from-aws-s3-to-google-cloud-storage/ https://www.tothenew.com/blog/terraform-state-migration-seamlessly-moving-from-aws-s3-to-google-cloud-storage/#respond Wed, 29 Jul 2026 07:43:10 +0000 https://www.tothenew.com/blog/?p=80734 Introduction: What if the single source of truth for your entire infrastructure lived in the wrong cloud? For years, our Terraform state lived in an AWS S3 bucket while our infrastructure increasingly ran on Google Cloud Platform. That split created cross-cloud dependencies, IAM complexity, and a growing mismatch between where we managed infrastructure and where […]

The post Terraform State Migration: Seamlessly Moving from AWS S3 to Google Cloud Storage first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/terraform-state-migration-seamlessly-moving-from-aws-s3-to-google-cloud-storage/feed/ 0
DNS as Code in Action: Lessons from a Client Project with NS1 and Terraform https://www.tothenew.com/blog/dns-as-code-in-action-lessons-from-a-client-project-with-ns1-and-terraform/ https://www.tothenew.com/blog/dns-as-code-in-action-lessons-from-a-client-project-with-ns1-and-terraform/#respond Sat, 31 Jan 2026 11:57:43 +0000 https://www.tothenew.com/blog/?p=77313 Introduction DNS is rarely the first thing teams modernise. In most client environments we work with at To The New, CI/CD, cloud infrastructure, and observability mature quickly. DNS, however, often remains manually managed through dashboards, handled by a few people, and changed mostly during incidents. That gap usually goes unnoticed until traffic needs to be […]

The post DNS as Code in Action: Lessons from a Client Project with NS1 and Terraform first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/dns-as-code-in-action-lessons-from-a-client-project-with-ns1-and-terraform/feed/ 0
MongoDB Recovery Practice — DR Drill Automation with Terraform, Python & Jenkins https://www.tothenew.com/blog/mongodb-recovery-practice-dr-drill-automation-with-terraform-python-jenkins/ https://www.tothenew.com/blog/mongodb-recovery-practice-dr-drill-automation-with-terraform-python-jenkins/#respond Fri, 12 Sep 2025 07:42:18 +0000 https://www.tothenew.com/blog/?p=76331   MongoDB Recovery Practice — DR Drill Automation with Terraform, Python & Jenkins When disaster strikes, the only thing that matters is how fast and reliably you can get your database back. Backups on a shelf are worthless if you can’t restore them under pressure. I built an automated MongoDB restore pipeline with Terraform, Python, […]

The post MongoDB Recovery Practice — DR Drill Automation with Terraform, Python & Jenkins first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/mongodb-recovery-practice-dr-drill-automation-with-terraform-python-jenkins/feed/ 0
Stop Paying Extra: How We Helped an Ad-Tech Company Cut AWS RDS Costs by Upgrading from MySQL 5.7 https://www.tothenew.com/blog/stop-paying-extra-how-we-helped-an-ad-tech-company-cut-aws-rds-costs-by-upgrading-from-mysql-5-7/ https://www.tothenew.com/blog/stop-paying-extra-how-we-helped-an-ad-tech-company-cut-aws-rds-costs-by-upgrading-from-mysql-5-7/#respond Tue, 26 Aug 2025 16:16:33 +0000 https://www.tothenew.com/blog/?p=73387 Introduction If you’re still running MySQL 5.7 on Amazon RDS, it’s time to act. AWS started charging for Extended Support in March 2024. By mid-2025, that charge is no longer theoretical, and paying for it is kind of unacceptable. You’re likely already paying for it, and the cost will double by the end of this […]

The post Stop Paying Extra: How We Helped an Ad-Tech Company Cut AWS RDS Costs by Upgrading from MySQL 5.7 first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/stop-paying-extra-how-we-helped-an-ad-tech-company-cut-aws-rds-costs-by-upgrading-from-mysql-5-7/feed/ 0
Upgrading the Terraform AWS Provider: Painful, But Worth It https://www.tothenew.com/blog/upgrading-the-terraform-aws-provider-painful-but-worth-it/ https://www.tothenew.com/blog/upgrading-the-terraform-aws-provider-painful-but-worth-it/#respond Tue, 19 Aug 2025 19:09:12 +0000 https://www.tothenew.com/blog/?p=73657 Introduction If you’re using Terraform for IAAC with AWS, you might have probably declared the provider like this in your code: provider "aws" {  region = "us-west-2" } And it worked. So you left it alone. Then one day, someone tries to use a newer module… and Terraform throws a special error: Error: unsupported argument […]

The post Upgrading the Terraform AWS Provider: Painful, But Worth It first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/upgrading-the-terraform-aws-provider-painful-but-worth-it/feed/ 0
Mastering Terraform State: Real Incidents, Lessons, and Best Practices https://www.tothenew.com/blog/mastering-terraform-state-real-incidents-lessons-and-best-practices/ https://www.tothenew.com/blog/mastering-terraform-state-real-incidents-lessons-and-best-practices/#respond Thu, 07 Aug 2025 18:45:19 +0000 https://www.tothenew.com/blog/?p=73607 Introduction: What is Terraform State? Terraform doesn’t just apply your infrastructure code and forget about it. It keeps track of what’s been created — every EC2 instance, every S3 bucket, every RDS database, every security group, and many more. That data is stored in a file called terraform.tfstate. This state file is how Terraform knows: […]

The post Mastering Terraform State: Real Incidents, Lessons, and Best Practices first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/mastering-terraform-state-real-incidents-lessons-and-best-practices/feed/ 0
Why Terraform Is a Popular Choice in the Industry https://www.tothenew.com/blog/why-terraform-is-a-popular-choice-in-the-industry/ https://www.tothenew.com/blog/why-terraform-is-a-popular-choice-in-the-industry/#respond Wed, 02 Jul 2025 14:16:30 +0000 https://www.tothenew.com/blog/?p=72934 Why Terraform Is a Popular Choice in the Industry In an era where businesses demand rapid scalability and resilience, Infrastructure as Code (IaC) has become essential. Among the many tools available, Terraform by HashiCorp stands out as a favorite in the industry. Whether you’re managing cloud infrastructure, automating deployments, or building hybrid environments, Terraform simplifies […]

The post Why Terraform Is a Popular Choice in the Industry first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/why-terraform-is-a-popular-choice-in-the-industry/feed/ 0
Modern Terraform Practices: Removing Resources Safely from State https://www.tothenew.com/blog/modern-terraform-practices-removing-resources-safely-from-state/ https://www.tothenew.com/blog/modern-terraform-practices-removing-resources-safely-from-state/#respond Thu, 29 May 2025 09:34:47 +0000 https://www.tothenew.com/blog/?p=72032 Introduction and Usecase There are times when we want Terraform to stop managing a resource, but don’t want to delete it from the infrastructure. In this brief blog, I’m going to discuss removing resources from Terraform configuration files while keeping them in real infrastructure. But why would you want to do this in the first […]

The post Modern Terraform Practices: Removing Resources Safely from State first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/modern-terraform-practices-removing-resources-safely-from-state/feed/ 0
Terraform 1.5 Import Block: Eliminate Manual Imports and Streamline IaC https://www.tothenew.com/blog/no-more-manual-terraform-imports-learn-the-new-way/ https://www.tothenew.com/blog/no-more-manual-terraform-imports-learn-the-new-way/#respond Mon, 26 May 2025 07:04:32 +0000 https://www.tothenew.com/blog/?p=72289 Introduction We know that sometimes the cloud infrastructure is already set up before we start using Terraform. Traditionally, if we wanted to import these resources into Terraform and control them, we had to run some manual import commands. It was a pain and made it tricky to keep things smooth when working in a collaborative […]

The post Terraform 1.5 Import Block: Eliminate Manual Imports and Streamline IaC first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/no-more-manual-terraform-imports-learn-the-new-way/feed/ 0
Terraform Meets GitOps: Setting Up Atlantis on AWS for Automated Infrastructure Management https://www.tothenew.com/blog/terraform-meets-gitops-setting-up-atlantis-on-aws-for-automated-infrastructure-management/ https://www.tothenew.com/blog/terraform-meets-gitops-setting-up-atlantis-on-aws-for-automated-infrastructure-management/#respond Wed, 26 Mar 2025 11:09:43 +0000 https://www.tothenew.com/blog/?p=70517 Introduction Infrastructure automation is a crucial part of modern DevOps workflows, enabling teams to manage cloud resources efficiently using Infrastructure as Code (IaC). Terraform is a widely used IaC tool, and when paired with Atlantis, it provides a seamless, GitHub-driven workflow for managing infrastructure changes. Atlantis integrates Terraform with version control systems like GitHub, GitLab, […]

The post Terraform Meets GitOps: Setting Up Atlantis on AWS for Automated Infrastructure Management first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/terraform-meets-gitops-setting-up-atlantis-on-aws-for-automated-infrastructure-management/feed/ 0
Terraform Mastery Part 2: Advanced Techniques for Pro Infrastructure https://www.tothenew.com/blog/terraform-mastery-part-2-advanced-techniques-for-pro-infrastructure/ https://www.tothenew.com/blog/terraform-mastery-part-2-advanced-techniques-for-pro-infrastructure/#respond Fri, 13 Dec 2024 06:30:41 +0000 https://www.tothenew.com/blog/?p=68973 Introduction Welcome back to the exciting adventure through the Terraform Mastery blog series! In Part 1 of this series, we revealed some basic and advanced tips to decorate your IAC management capabilities. Now, in this part, we’re going to dive deep into some other important tips that may in addition streamline your workflow, improve efficiency, […]

The post Terraform Mastery Part 2: Advanced Techniques for Pro Infrastructure first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/terraform-mastery-part-2-advanced-techniques-for-pro-infrastructure/feed/ 0
Terraform Mastery Part 1: Tips for Pro Infrastructure https://www.tothenew.com/blog/terraform-mastery-part-1-tips-for-pro-infrastructure/ https://www.tothenew.com/blog/terraform-mastery-part-1-tips-for-pro-infrastructure/#respond Thu, 05 Dec 2024 05:46:42 +0000 https://www.tothenew.com/blog/?p=68849 Introduction Welcome to the magical world of Terraform, where cloud infrastructure meets innovation! While many people know the basics, there are hidden gems buried deep inside this powerful tool just waiting to be discovered. This blog is your guide to some unique tips and tricks that can supercharge your Terraform skills, increase your productivity, and […]

The post Terraform Mastery Part 1: Tips for Pro Infrastructure first appeared on TO THE NEW Blog.

]]>
https://www.tothenew.com/blog/terraform-mastery-part-1-tips-for-pro-infrastructure/feed/ 0