You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with an old (non-existent anymore) hashicorp/oci provider. Even if I don't have it in my provider configuration, some of the resources asks for it, and 'terraform init' installs it and 'terraform plan/apply' wants to use it.
I can clearly see that 'terraform init' installs executable provider, and I can see that executable is in my .terraform path:
.terraform/providers/registry.terraform.io/hashicorp/oci/5.1.0/linux_amd64/terraform-provider-oci_v5.1.0
But when you go to registry.terraform.io you are not able to find hashicorp/oci repository (new one is oracle/oci).
I cleared hashicorp/oci from my ".terraform.lock.hcl" to be sure that is not "me" who asks for hashicorp/oci.
So, somewhere in configuration, some of the resources asks for hashicorp/oci, but which one? There are so many of them.
With grep command I can see that nowhere in my configuration files there is hashicorp/oci as a source in required_providers block.
I read that terraform if it cannot find the provider for specific resource (in configurations) it uses default one, and it seems that defualt one is hashicorp/oci (non-existent).
I tried to play with aliases in ~/.oci/config, unfortunately without any success.
So, any advice how to solve this issue?
The text was updated successfully, but these errors were encountered:
I have an issue with an old (non-existent anymore) hashicorp/oci provider. Even if I don't have it in my provider configuration, some of the resources asks for it, and 'terraform init' installs it and 'terraform plan/apply' wants to use it.
I can clearly see that 'terraform init' installs executable provider, and I can see that executable is in my .terraform path:
.terraform/providers/registry.terraform.io/hashicorp/oci/5.1.0/linux_amd64/terraform-provider-oci_v5.1.0
But when you go to registry.terraform.io you are not able to find hashicorp/oci repository (new one is oracle/oci).
I cleared hashicorp/oci from my ".terraform.lock.hcl" to be sure that is not "me" who asks for hashicorp/oci.
So, somewhere in configuration, some of the resources asks for hashicorp/oci, but which one? There are so many of them.
With grep command I can see that nowhere in my configuration files there is hashicorp/oci as a source in required_providers block.
I read that terraform if it cannot find the provider for specific resource (in configurations) it uses default one, and it seems that defualt one is hashicorp/oci (non-existent).
I tried to play with aliases in ~/.oci/config, unfortunately without any success.
So, any advice how to solve this issue?
The text was updated successfully, but these errors were encountered: