runatlantis / atlantis

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

Storing a history of apply tasks #669

Open vicente-valls opened 5 years ago

vicente-valls commented 5 years ago

Hi guys, this is not an issue but rather a feature request. Besides showing current locks it would be interesting to store history of apply tasks for auditing and easy debugging purpose. Imagine there is an emergency and you want to see quickly which were latest 5 deployments.

lkysow commented 5 years ago

Hi Vicente, thanks for the feature request. You could look at the pull request history as well. I'd also check out Terraform Cloud's remote state storage because that offers a full state history, see: https://medium.com/runatlantis/4-reasons-to-try-hashicorps-new-free-terraform-remote-state-storage-b03f01bfd251, Reason #2 — Fully Featured State Viewer.

See docs for that here: https://www.runatlantis.io/docs/terraform-cloud.html#using-atlantis-with-free-remote-state-storage

vicente-valls commented 5 years ago

@lkysow thanks for your answer

You could look at the pull request history as well

right, either that or what we have though is looking at the slack history (if you have either atlantis or github integrated).

I'd also check out Terraform Cloud's remote state storage because that offers a full state history,

seems it could be one solution, we store state files on aws s3 with versioning enabled, that could also give you the history of changes...

kipkoan commented 5 years ago

Another option is to look at the logs. If you have something like Splunk you can even set up a dashboard and such.

On Jun 11, 2019, at 1:51 PM, Vicente Valls Rios notifications@github.com wrote:

@lkysow thanks for your answer

You could look at the pull request history as well

right, either that or what we have though is looking at the slack history (if you have either atlantis or github integrated).

I'd also check out Terraform Cloud's remote state storage because that offers a full state history,

seems it could be one solution, we store state files on aws s3 with versioning enabled, that could also give you the history of changes...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.