Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.7.17 to avoid state corruption #1959

Closed
Nothing4You opened this issue Dec 22, 2021 · 4 comments · Fixed by #1965
Closed

Release 0.7.17 to avoid state corruption #1959

Nothing4You opened this issue Dec 22, 2021 · 4 comments · Fixed by #1965
Labels
bug Something isn't working

Comments

@Nothing4You
Copy link

Nothing4You commented Dec 22, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Atlantis v0.17.6 bundles terraform 1.1.1 which has a known issue that can result in state corruption.
This affects versions 1.1.0 and 1.1.1 in terraform and is fixed in v1.1.2: https://github.com/hashicorp/terraform/releases/tag/v1.1.2
Original issue in TF: hashicorp/terraform#30178
Fix in TF: hashicorp/terraform#30199
Terraform in Atlantis was already updated to 1.1.2 in #1952 but there is no release containing this fix.

As this can result in state corruption (happened to us) please consider providing a fixed version ASAP to avoid having more people corrupting their state.

@Nothing4You Nothing4You added the bug Something isn't working label Dec 22, 2021
@Nothing4You
Copy link
Author

Just in case anyone reading is looking for a workaround/mitigation: you can pin terraform versions in atlantis.yaml and terraform config: https://www.runatlantis.io/docs/terraform-versions.html

@chenrui333
Copy link
Member

Make sense, I am gonna create a new release today or tomorrow. Thanks!

@chenrui333
Copy link
Member

Just made a new release 0.18.0 (let me know if that fixed your issue, thanks!)

@Nothing4You
Copy link
Author

Nothing4You commented Dec 30, 2021

thanks, should be fine considering that it's just a dependency thing.
i don't have a reliable way to repro anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants