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

🐛 Terraform 1.6.0 crashing #1836

Closed
Tracked by #1827
jacobwoffenden opened this issue Oct 10, 2023 · 2 comments · Fixed by #1898
Closed
Tracked by #1827

🐛 Terraform 1.6.0 crashing #1836

jacobwoffenden opened this issue Oct 10, 2023 · 2 comments · Fixed by #1898
Assignees
Labels
bug Something isn't working data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools 🧑‍💻 Apps & Tools BAU (Epic #1827)

Comments

@jacobwoffenden
Copy link
Member

jacobwoffenden commented Oct 10, 2023

Describe the bug.

Terraform 1.6.0 crashes during validation causing workflows to fail

Run terraform validate -no-color
/home/runner/work/_temp/866eec23-03e0-4353-97fb-997b1903301e/terraform-bin validate -no-color

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Terraform crashed! This is always indicative of a bug within Terraform.
Please report the crash with Terraform[1] so that we can fix this.

When reporting bugs, please include your terraform version, the stack trace
shown below, and any additional information which may help replicate the issue.

[1]: https://github.com/hashicorp/terraform/issues

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Source: https://github.com/ministryofjustice/data-platform/actions/runs/6454061276/job/17559133154?pr=1801#step:11:18

To Reproduce

  1. Run a Terraform component with 1.6.0 binary

Expected Behaviour

Terraform steps do not crash

Additional context

We saw this behaviour while working on Modernisation Platform, the workaround was to pin at 1.5.7

@dms1981 raised this with Hashicorp (hashicorp/terraform#33988 closed as dupe of hashicorp/terraform#33977)

@jacobwoffenden jacobwoffenden added the bug Something isn't working label Oct 10, 2023
@jacobwoffenden
Copy link
Member Author

We've now merged some fixes that will be coming in the forthcoming v1.6.1 release.

As per hashicorp/terraform#33977 (comment)

@jacobwoffenden
Copy link
Member Author

https://github.com/hashicorp/terraform/releases/tag/v1.6.1 is now released which fixes this

@github-project-automation github-project-automation bot moved this from 💨 In Progress to ✨ Done ✨ in Analytical Platform Oct 12, 2023
@jacobwoffenden jacobwoffenden added the data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools 🧑‍💻 Apps & Tools BAU (Epic #1827)
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants