I’m trying to use a 3rd party provider for gsuite management, but I keep getting an error on terraform init “Error while installing hashicorp/gsuite: provider registry.”
terraform version
Terraform v0.13.5
+ provider registry.terraform.io/deviavir/gsuite v0.1.56
+ provider registry.terraform.io/hashicorp/google v3.48.0
I have providers.tf set up as so.
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 3.48.0"
}
gsuite = {
source = "deviavir/gsuite"
version = "0.1.56"
}
}
}
I have run run terraform 0.13upgrade
prior to terraform init and have versions.tf
terraform {
required_version = ">= 0.13"
}
terraform init still seems to download the correct provider but also seems to try download hashicorp/gsuite. Any help would be appreciated in solving this issue.
Initializing modules...
- dr_test_restore in modules/gcp_project
Initializing the backend...
Successfully configured the backend "gcs"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Finding latest version of hashicorp/gsuite...
- Finding hashicorp/google versions matching "~> 3.48.0"...
- Finding deviavir/gsuite versions matching "0.1.56"...
- Installing hashicorp/google v3.48.0...
- Installed hashicorp/google v3.48.0 (signed by HashiCorp)
- Installing deviavir/gsuite v0.1.56...
- Installed deviavir/gsuite v0.1.56 (self-signed, key ID AD9970F98EB884FD)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/plugins/signing.html
Error: Failed to install provider
Error while installing hashicorp/gsuite: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/gsuite