Closed TheComice closed 4 years ago
Thank you for reporting this issue, @TheComice , and I'm sorry you ran into it!
As a workaround for now you can remove the terraform
block from required_providers
, and we'll get this fixed for the next release.
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.
Terraform Version
Terraform Configuration Files
terraform 0.13upgrade produces following required_providers block: -
Debug Output
Crash Output
Expected Behavior
I was expecting the required_providers to include an addressing scheme source as follows: -
Actual Behavior
terraform 0.13upgrade has incorrectly generated the
source = "hashicorp/terraform"
which results inError: Incompatible provider version
Steps to Reproduce
terraform 0.13upgrade
on 0.12.20 configured module block.required_providers
block appended to versions.tf file runterraform init
Additional Context
References