runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.81k stars 1.06k forks source link

add "reload configuration" mechanism #330

Open tomer-1 opened 6 years ago

tomer-1 commented 6 years ago

when changing the server side yaml, there is no proper way to trigger a "reload configuration" this requirement is extended when speaking on a centralized, server side atlantis.yaml file.

andrewjeffree commented 5 years ago

I wonder if the best way to handle this would be via the webserver. Just a GET request to $ATLANTIS_URL/reload_config or similar?

JonGilmore commented 3 years ago

@lkysow any idea if it'd be possible to implement something like this without too much effort? It'd be awesome to have a mechanism to do a dynamic reload for repos.yaml when we need to add additional repos to the allow-list

justin-watkinson-sp commented 3 years ago

Exactly, if it worked something similar to how Prometheus HTTP POST to /-/reload it would be great.

When I think about a feature like this in practice, I imagine that once the directory is spawned for the PR, it could just take the point in time copy there to avoid using a different repos.yaml for plan vs apply, with another command to just reset it if it got really strange. Might be over-thinking it a bit.

ngoclamnn commented 2 years ago

vote 👍

supertopher commented 1 year ago

this would be a nice

mangilal23 commented 2 weeks ago

vote

niva004 commented 2 weeks ago

vote 👍