I’m working on getting from 0.12 to 1.0, made it from 12 to 13 no problem but now going from 13 to 14 I’m stuck due to complaints about mis-specified providers. Specifically four:
-/aws
-/null
-/tls
-/template
However none of these appear in any module configuration, and “terraform providers” lists all providers with correct/fully-qualified paths. Using terraform-0.13.7 when I do a “terraform init” it does show both the unqualified and fully-qualified providers:
- Finding latest version of -/template…
- Finding latest version of hashicorp/archive…
- Finding latest version of hashicorp/null…
- Finding latest version of -/aws…
- Finding latest version of hashicorp/tls…
- Finding latest version of vancluever/acme…
- Finding latest version of hashicorp/local…
- Finding latest version of -/null…
- Finding latest version of hashicorp/template…
- Finding latest version of hashicorp/random…
- Finding latest version of -/tls…
- Finding latest version of hashicorp/aws…
- Finding latest version of hashicorp/cloudinit…
note the duplicate output for those four providers. The state does not appear to contain those unqualified providers:
Providers required by state:
provider[registry.terraform.io/hashicorp/cloudinit]
provider[registry.terraform.io/hashicorp/null]
provider[registry.terraform.io/hashicorp/random]
provider[registry.terraform.io/hashicorp/template]
provider[registry.terraform.io/hashicorp/tls]
provider[registry.terraform.io/hashicorp/archive]
provider[registry.terraform.io/hashicorp/aws]
provider[registry.terraform.io/hashicorp/local]
provider[registry.terraform.io/vancluever/acme]
I tried doing “terraform state replace_provider” for each of them, but it claims the unqualified providers are not found (which matches the output from “terraform providers”).
I’ve looked through all of the terraform module files, there is no mention of the “-/aws” type provider path. The output of “terraform graph” does not mention the unqualified providers.
How do I track down where these are coming from? I’m stuck getting from 13 to 14 until this is resolved as 14 rejects the unqualified providers at init.
Thanks.
-Jeff