https://www.runatlantis.io/ logo
Title
p

PePe Amengual

03/30/2023, 7:13 PM
<!here> anyone using Atlantis pulling repos from different Orgs and different authentication per Org? I’m curious on your git setup and how did you manage to get that working
r

Ronald M.

03/30/2023, 9:49 PM
im running different auth per same org
im running 2 atlantis instances one for non-production environments looking to the same repo
p

PePe Amengual

03/30/2023, 9:50 PM
my question is related to pulling repos with one Atlantis from different orgs that require different level of access
how Atlantis or github could allow that
this is under the same company but different orgs withing github Enterprise
i

Isaac Wilson

03/31/2023, 12:54 AM
Would adding a gitconfig with all the orgs you need work? https://github.com/runatlantis/helm-charts/blob/main/charts/atlantis/values.yaml#L77 I’m only under a single org but that’s how we handle auth anyways. We use gitconfig
insteadOf
to inject
<https://oauth2:secret@my.gitlab.org>
vs
<https://my.gitlab.org>
p

PePe Amengual

03/31/2023, 1:03 AM
yes, that could work