#atlantis - November 2019

atlantisArchived
13 messages

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

November 2019
zeid
zeidalmost 7 years ago
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 (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
We deploy Atlantis in each AWS account for this purpose
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
And we have a 1:1 correlation between AWS accounts and Atlantis
zeid
zeidalmost 7 years ago
we are doing that as well
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
So webhooks only fire for that repo
zeid
zeidalmost 7 years ago
oh, you have a repo per env?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
So would this work for you?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Ya but technically not required as the Atlantis config can filter based on paths
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
But it will wake up on every branch sync regardless of environment
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Which is what’s nice about keeping accounts isolated by repo
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 7 years ago
Commit history is then isolated as well - if that’s appealing
zeid
zeidalmost 7 years ago
it is
zeid
zeidalmost 7 years ago
thanks