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

RB

02/25/2023, 8:40 PM
Anyone using redis for locking with multiple atlantis instances?
I haven’t set it up yet but it was a recent (within 6 months?) contributed PR which resulted in me creating this issue on the upstream atlantis fargate module by anton and bryantbiggs https://github.com/terraform-aws-modules/terraform-aws-atlantis/issues/322#issuecomment-1445202010
cc: @Bruno Schaatsbergen if you are considering redis locking and high availability in your gce module as well
đź‘Ť 1
@Li Lin looking at this pr https://github.com/runatlantis/atlantis/pull/2491. Unsure how it saves plans and how each instance knows of the instance that holds each plan since the plan is stored locally on the instance that created it? Is sharing the same mount needed across all the redis instances? Such as shared efs?
b

Bruno Schaatsbergen

02/27/2023, 12:47 PM
QQ for the TF module support
What's needed from a TF pov?
Isn't it just deploying Atlantis, a standalone Redis and some env vars?
I'll need to dive deeper into the specifics or see a design spec for the modules
r

RB

02/27/2023, 1:53 PM
yep that sounds about right
from aws, you’d also need a security group, unsure about how gce connections would work from atlantis to redis