You will encounter this error when you initialize the any workspace generated by terraformer
$ terraform init
Initializing the backend...
╷
│ Error: Invalid legacy provider address
│
│ This configuration or its associated state refers to the unqualified provider "rootly".
│
│ You must complete the Terraform 0.13 upgrade process before upgrading to later versions.
╵
Terraform Version
1.5.7
Expected Behavior
terraformer rootly generates proper
provider.tf
files. For example:Actual Behavior
You will encounter this error when you initialize the any workspace generated by terraformer
This is the file that is generated:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example: Run Rootly terraformer and look at the resulting
providers.tf
generated.Important Factoids
The work around is to first generate the terraform with terraformer, then manually update the
providers.tf
and then update the state with: