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.1 requires upgrade of terraform-json for acceptance tests #821

Closed
ewbankkit opened this issue Nov 5, 2021 · 1 comment · Fixed by #822
Closed

Terraform 1.1 requires upgrade of terraform-json for acceptance tests #821

ewbankkit opened this issue Nov 5, 2021 · 1 comment · Fixed by #822
Labels
enhancement New feature or request

Comments

@ewbankkit
Copy link
Contributor

SDK version

github.com/hashicorp/terraform-plugin-sdk/v2 v2.8.0

Use-cases

Running Terraform CLI v1.1.0-beta1 with the latest AWS Provider acceptance tests results in every test failing:

=== RUN   TestAccAccessAnalyzer_serial/Analyzer/basic
analyzer_test.go:24: Step 1/2 error: unsupported state format version: expected ["0.1" "0.2"], got "1.0"
testing_new.go:63: Error retrieving state, there may be dangling resources: unsupported state format version: expected ["0.1" "0.2"], got "1.0"

The terraform-json dependency needs to be upgraded to at least v0.13.0.

Relates: hashicorp/terraform-json#41.

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant