Conversation
|
Hi guys, any chance there will be some progress on this one soon? would be beautiful to have this functionality in Atlantis. |
|
There is probably no chance since the author works on an alternative solution. |
|
@jeffersontavaresdm The issue with solutions like driftive is that you need to run an additional binary other than Atlantis somewhere, which would need to comply to a different spec (see https://github.com/driftive/driftive?tab=readme-ov-file#repository-configuration), other than the already available repo config yaml that atlantis offers. It would also need to have its own access to the infra Atlantis manages. Thus I think something like this to begin with: #5087 is the proper way to do it when an org uses Atlantis. |
That is not entirely correct. We have been discussing for a while to run a cron-like job within Atlantis to run the repo/repos against current infra, then create an issue and a remediation PR and maybe an event to Slack to notify. Atlantis is already running, so why not use Atlantis itself to trigger the discovery/drift detection and use the already provided access. |
|
@jamengual An internal non-API mechanism can work too, sure. However, the API would be possible to be used outside of Atlantis too. Either way, would be nice for an Atlantis drift detection mechanism to fully support the atlantis repo level yaml config file. |
|
Sorry, I do not want one or the other; I was saying we can do both. |
|
It would be nice to have an option that says if the plan should be only monitored for drift or will be applied if there is a drift. |
|
Closing this, since there is no progress and there are many discussions on the topic |
|
Hey there, thank you for atlantis. It is a very nice tool, that eases up my life. I am also interested in this feature. Is there a refined implementation outline for how you envision this feature? |
(Still a work in progress PR, not ready for review yet, but you are welcome to have a look :))
what
Work in progress Implementation of #3245 drift detection feature. It allows users to configure drift detection for specific projects so atlantis can detect drift and create a pull request based on this change. Working on:
why
To support drift detection natively in atlantis
tests
references