#atlantis (2019-11)

atlantis

Discuss the Atlantis (http://runatlantis.io|runatlantis.io) *Archive: * https://archive.sweetops.com/atlantis/

2019-11-11

zeid.derhally avatar
zeid.derhally

When deploying an atlantis instance per environment, what is the recommended approach for configuring each instance to only handle its own environment. We have dev, qa, stable, prod, and want each atlantis to plan/apply for its corresponding environment

Erik Osterman avatar
Erik Osterman

We deploy Atlantis in each AWS account for this purpose

Erik Osterman avatar
Erik Osterman

And we have a 1:1 correlation between AWS accounts and Atlantis

zeid.derhally avatar
zeid.derhally

we are doing that as well

Erik Osterman avatar
Erik Osterman

So webhooks only fire for that repo

zeid.derhally avatar
zeid.derhally

oh, you have a repo per env?

Erik Osterman avatar
Erik Osterman

So would this work for you?

Erik Osterman avatar
Erik Osterman

Ya but technically not required as the Atlantis config can filter based on paths

Erik Osterman avatar
Erik Osterman

But it will wake up on every branch sync regardless of environment

Erik Osterman avatar
Erik Osterman

Which is what’s nice about keeping accounts isolated by repo

Erik Osterman avatar
Erik Osterman

Commit history is then isolated as well - if that’s appealing

zeid.derhally avatar
zeid.derhally

it is

zeid.derhally avatar
zeid.derhally

thanks

    keyboard_arrow_up