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

Fix Acceptance Tests: terraform-json 0.12.0 #231

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

trotttrotttrott
Copy link
Member

All acceptance tests started failing today with unsupported state format version: expected "0.1", got "0.2". Updating terraform-json fixes this - though I don't fully understand why.

It has something to do with the Terraform 1.0.1 release today and presumably this particular pull request: hashicorp/terraform#28889.

https://github.com/hashicorp/terraform/pull/28889/files#diff-aec0f9962c6764cbde3325886b9b81650e1007d96d7693a9dcf0df9b53f09d2eL25-R25

Another strange finding was that tests would pass without updating terraform-json if Terraform <= 1.0.0 was in the path of the acceptance test runtime. If terraform was not in the path or if Terraform 1.0.1 was in the path, these failures would occur.

Copy link
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update.

@trotttrotttrott trotttrotttrott merged commit 7ad0fe0 into master Jun 25, 2021
@trotttrotttrott trotttrotttrott deleted the ttt/update-terraform-json branch June 25, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants