#atlantis

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

2019-11-11

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

We deploy Atlantis in each AWS account for this purpose

Erik Osterman

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

zeid.derhally

we are doing that as well

Erik Osterman

So webhooks only fire for that repo

zeid.derhally

oh, you have a repo per env?

Erik Osterman

So would this work for you?

Erik Osterman

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

Erik Osterman

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

Erik Osterman

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

Erik Osterman

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

zeid.derhally

it is

zeid.derhally

thanks

    keyboard_arrow_up