Skip to main content
HashiConf More sessions have been added to the conference agenda. Buy your pass and plan your schedule. Register
Demo

Re-potting Overgrown Terraform Repositories

Learn how to split one Terraform repository into two projects while maintaining your state information.

Does reorganizing your Terraform repository feel overwhelming? Maybe you need to split off part of a sprawling repository to better align with new team structures and security rules. Or maybe you've discovered multiple teams have independently adopted Terraform and you're ready to combine your efforts.

What You'll Learn

Using a sample repository, an AWS S3 backend, and a lot of gardening metaphors, this demo will cover how to split one Terraform repository into two projects while maintaining your state information. Then we'll put it back together into a unified repository. Along the way, we'll use easy-to-customize bash scripts to reduce typos and errors.

Speaker: Kristin Smith

Sample starting repo: github.com/kristin-smith/terraform-demo

More resources like this one

  • 2/3/2023
  • Case Study
Automating Multi-Cloud, Multi-Region Vault for Teams and Landing Zones
  • 1/5/2023
  • Case Study
How Discover Manages 2000+ Terraform Enterprise Workspaces
  • 12/22/2022
  • Case Study
Architecting Geo-Distributed Mobile Edge Applications with Consul
zero-trust
  • 12/13/2022
  • PDF
A Field Guide to Zero Trust Security in the Public Sector