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