Also, I've looking for examples for regex when usi...
# atlantis-community
j
Also, I've looking for examples for regex when using
- id:
in the
repos.yaml
. Is:
- id: /github.com\/myorg\/*/
valid? Does this allow all repos under the
myorg
github organization? Also, what is the difference between using the noted above and using:
repo-allowlist:
Inside a
config.yaml
?
p
we usually call this file repos.yaml
config.yaml sometimes is referred when using
--config
to pass a config file instead of a bunch of flags
if the regex is correct it will only allow those repos in that org
j
So I could essentially move all the flags used in the in the file passed to the
--config
switch to be inside the
repos.yaml
?
d
The reason theres a Server Config and a Repo Config is that Atlantis can be and is setup to be a central system by multiple teams.
Usually the team configuring a repo (engineering team) is different from the team administrating Atlantis (platform team)
so when you look at it that way, it makes a bit more sense what the files are intended for
The Atlanits admins/team can set server config to apply to repos without having to fully manage/police each repo
j
Thank you @Dylan Page for responding first of all. I appreciate all the help.
💯 1
👍 1