Replies: 1 comment 2 replies
-
Hi @jonatiao, Thanks for reaching out. Funny coincidence. The first architecture we ever built on top of Terramate is called This is how our structure looks like currently:
Since we wanted to open-source this for some time anyway, I'd ask you to give me some time to align this internally. Perhaps we can make this happen sooner rather than later so you can use it for your organization instead of building from scratch (it also comes with pre-configured pipelines for GitHub Actions). |
Beta Was this translation helpful? Give feedback.
-
Hello Everyone,
Thx for the awesome tool. I just learned about it while researching and feel it's easier to use than terragrunt and terraform vanilla while using it inside CI/CD pipelines.
I wonder if anyone here had any experience to share regarding automating github's enterprise/organization as code. I would appreciate any advice that could be given to me regarding file structure and even if this is doable using terramate. I'm reaching you guys in this discussion tool because the examples I found are always related to environments and cloud providers.. so I'm not sure if the tool is suited for what I'm trying to achieve.
The idea is to automate the creation and configuration of Organizations, Teams, management of People, Repositories and so on. Everything that is possible using github's terraform provider:
https://registry.terraform.io/providers/integrations/github/latest/docs
We will have an github cloud Enterprise, which will have N Organizations and N repos inside each Organization. The interest in Terramate is because of Stacks and Globals and I would like to know if it can address issues like:
https://registry.terraform.io/providers/integrations/github/latest/docs/resources/organization_settings
Organizations/global_configs.tm.hcl # global
Organizations/My-Org/configs.tm.hcl # overrides some global configs
I came up with something like the bellow.(not considering yet terramate's own structure.. still playing around)
Is this feasible using Terramate?
Any tips where I should start or a small example?
Beta Was this translation helpful? Give feedback.
All reactions