mineiros-io / terraform-github-organization

A Terraform module to manage GitHub Organizations. https://github.com/
Apache License 2.0
60 stars 13 forks source link

How to provide organization name #42

Closed zen closed 2 years ago

zen commented 2 years ago

Hi guys,

This module looks very interesting, although I have one problem. I'm managing multiple organizations on GH, how can I actually tell the module which one I want to manage? Am I missing something here?

zen commented 2 years ago

OK, looks like this is set at the provider level. Working like a charm

soerenmartius commented 2 years ago

Hi @zen,

Thanks for reaching out! Exactly you can either set the organization through the owner variable or by using the GITHUB_OWNER environment variable. For details please see https://registry.terraform.io/providers/integrations/github/latest/docs#owner

Merry Christmas!

soerenmartius commented 2 years ago

I will add this to the docs also!