Ricard Bejarano
05/16/2024, 1:16 PMatlantis lock command or better yet, locking on first approval, would allow that
• decouple "control plane" from "workers"
◦ basically, split Atlantis into two pieces:
▪︎ the piece that receives webhooks and coordinates workers
▪︎ workers that just run plans or applies
◦ this would allow for autoscaling, otherwise we're bound to a single Atlantis instance and we've already maxed out ECS
◦ another option we're considering is sharding Atlantis (on PR number, for example), but then we'd need to share the storage of locked projects
• so, yank lock storage out of memory and into a shared datastore like DynamoDB for example
◦ this not only allows sharding Atlantis but it would also allow other interop use cases with other systems
◦ ight now we're considering a use case that sidelines Atlantis to do some automated operations without having to deal with PRs and having the list of locks just be a DynamoDB table would allow such flexibility
there's more stuff cooking but right now these are the ones we're more interested in and willing to contributePePe Amengual
05/16/2024, 4:19 PMPePe Amengual
05/16/2024, 4:22 PMPePe Amengual
05/16/2024, 4:23 PMRicard Bejarano
05/17/2024, 5:30 AMRicard Bejarano
05/17/2024, 5:30 AMRicard Bejarano
05/17/2024, 5:31 AMRicard Bejarano
05/17/2024, 5:32 AM