
Why Do We Use Terraform to Manage Our GitHub Account
Since its inception, Thirdbridge has used a self-hosted version of GitLab to manage the vast majority of its Git repositories. This approach has served us well until now, but it’s becoming increasingly limiting and hinders our ability to integrate various services into our DevOps workflows. Therefore, we’ve decided to migrate all our active projects to GitHub during this quarter. Furthermore, we’ve chosen to manage our organization using Terraform.
Most developers enthusiastically welcomed the move to GitHub, but were much more skeptical about the use of Terraform. This text serves both as an internal memo and a public article to share the reasoning behind this decision.
The Mistakes of the Past
Our GitLab instance currently holds 233 Git repositories created over the years, featuring a bewildering variety of configurations:
- Naming conventions: PascalCase, snake_case, kebab-case… every style is represented.
- Main branches: dev, main, master, develop… something for everyone.
- Merge strategies: merge commit, rebase, squash… our Git trees are more diverse than the Amazon rainforest. 🌳
- And more: minimum number of reviewers, branch protection rules, etc.
We don’t have particularly strong opinions on these choices (except for rebase, clearly the superior approach 😉). The real problem is the lack of consistency: in general, the specific choice matters less than having a coherent and unified approach. Thanks to Terraform, we can preserve our chosen configurations over time for each new project — without depending on human discipline!
The Good Shepherd
An overly rigid structure creates friction, harms the developer experience, and ultimately slows down innovation and productivity. Using Terraform allows us to strike a valuable balance between structure and freedom.
By default, all new GitHub repositories inherit the same baseline configurations, predefined by our team. But without guardrails, chaos inevitably creeps in. One simple solution would be to lock these configurations and forbid any changes. While this would be effective in maintaining order, it would be too rigid and bring the negative side effects mentioned earlier.
Whether it’s for temporarily testing a feature or making emergency adjustments, we believe some team members should have elevated permissions to make changes when necessary. The problem is that temporary changes often become permanent… simply because we forget to revert them.
Our solution: periodically reapply the Terraform configuration to guide strayed repositories back onto the right path. With GitHub Actions, this automation is straightforward and effective! And if a specific configuration truly needs to become permanent, it only takes a change in Terraform. Bonus: this modification — along with its justification — will be recorded in the Git history of the Terraform project, preserving a clear and lasting trace of why the change was made.
Better safe than sorry
Trying to anticipate all future needs is often a futile exercise. A better approach is to create a structure that makes changes easy. Another advantage of using Terraform is the ability to apply large-scale changes across all repositories quickly and efficiently.
To that end, we’ve defined a base repository used as a template for the creation of every new project.
Conclusion
Entropy always wins! No matter how rigorous and careful we are, chaos eventually sets in. That doesn’t mean we should surrender — rather, we must implement systems and processes that help us maintain an acceptable level of order, while leaving enough flexibility to foster innovation. This reality applies to many domains — and in the case of Git, we believe Terraform enables us to achieve that delicate balance.
We’re confident that our next 233 Git repositories will be far better structured than the first 233!
Note: Of course, this is a hyperbole — around 16,000 tree species have been recorded so far in the Amazon rainforest. 🌳
Other articles
.webp)

.webp)
.webp)
Mar 31, 2025
Ratings & Reviews: Their Impact on an App's Success
An app’s success isn’t solely based on meticulous engineering or eye-catching designs. It’s crucial to deliver a product that is high-performing, accessible, useful, and user-friendly, alongside a go-to-market (GTM) strategy tailored to the digital product ecosystem.
.webp)










.png)
May 3, 2024
Simplified Infrastructures for Enhanced Agility
At Thirdbridge, we believe that project-oriented teams deliver superior quality results, and do so more quickly. Given that they are responsible for the entire value creation flow, these teams can increase their velocity by eliminating bottlenecks themselves. Moreover, entrusting end-to-end flow responsibility to our developer teams makes their work even more engaging and motivating.



.webp)
.webp)

Oct 29, 2024
AI driving innovation: A new Era for Mobile Apps and User Experience
Artificial intelligence (AI) represents a digital transformation that impacts us all. This rapidly advancing technology, fueled by data analysis, not only enables informed decision-making and reliable forecasting but also allows for the completion of many tasks at a faster pace.

Oct 15, 2024
Enhancing Product Management: Key to Success in Software Development
The distinction between product management and project management is essential for ensuring optimal productivity. It’s not enough to treat them as interchangeable concepts; it’s crucial to adopt a proactive approach to place the right resources in the right places.

Sep 24, 2024
Cybersecurity and Mobile Applications: Choosing the Right Authentication Method
Mobile applications are essential tools that handle personal data, access sensitive information, and are part of our daily lives. However, in an age where the term cybersecurity is on everyone's lips, ensuring the security of these applications and the information they contain is crucial.
.webp)


.png)




.webp)



Oct 15, 2024
Pierre-Étienne Bousquet guest of "Les Affaires"
Our president and co-founder, Pierre-Étienne Bousquet, discussed with Jean-François Venne from Les Affaires the significant growth of digital technology in the retail industry and its impact on online sales, which are becoming increasingly crucial for revenue.


.png)
Jun 14, 2024
Recruiting an In-House Team or Hiring an Agency for Developing Your Application?
When embarking on a project as significant and important as developing an application, a crucial dilemma quickly arises: choosing between a specialized agency or recruiting your own in-house team to accomplish the work. One thing is certain, both options present distinct advantages and constraints.


May 22, 2024
Optimizing Synergy with Your Software Development Partner
The digital realm, especially that of custom digital solution development, is constantly evolving—between fast technological advancements and changing consumer needs, it's quite challenging to predict what the future holds for web players.
.png)