Replies: 2 comments 4 replies
-
If you want to use mostly the same code you can use Terraform workspaces with tfvars to configure the github provider |
Beta Was this translation helpful? Give feedback.
-
I'm quite curious about this too; we are on GitHub Enterprise Cloud (GHEC) and would like to set up different organisations underneath the Enterprise, each with a common set of teams (eg. infosec and admins) and other teams that would only exist in a given org. I'd like to have one deployment repo with the relevant, shared terraform inside. I can create multiple Is the recommended approach to structure the code with an alias per organisation and a module per github provider alias? |
Beta Was this translation helpful? Give feedback.
-
i'd like to manage multiple organizations. How do I go about it without duplicating the code?
Beta Was this translation helpful? Give feedback.
All reactions