banzaicloud / terraform-provider-k8s

Kubernetes Terraform provider with support for raw manifests
https://registry.terraform.io/providers/banzaicloud/k8s
MIT License
135 stars 30 forks source link

Error verifying GPG signature for provider "banzaicloud/k8s" #56

Closed vroad closed 4 years ago

vroad commented 4 years ago

Describe the bug

I got signature error when I tried to install the provider from registry.

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "tls" (hashicorp/tls) 2.2.0...
- Downloading plugin for provider "local" (hashicorp/local) 1.4.0...

Error verifying GPG signature for provider "banzaicloud/k8s"
Terraform was unable to verify the GPG signature of the downloaded provider
files using the keys downloaded from the Terraform Registry. This may mean that
the publisher of the provider removed the key it was signed with, or that the
distributed files were changed after this version was released.

- Downloading plugin for provider "helm" (hashicorp/helm) 0.10.4...
- Downloading plugin for provider "aws" (hashicorp/aws) 2.39.0...
- Downloading plugin for provider "template" (hashicorp/template) 2.1.2...

Provider "k8s" not available for installation.

A provider named "k8s" could not be found in the Terraform Registry.

This may result from mistyping the provider name, or the given provider may
be a third-party provider that cannot be installed automatically.

In the latter case, the plugin must be installed manually by locating and
downloading a suitable distribution package and placing the plugin's executable
file in the following directory:
    terraform.d/plugins/linux_amd64

Terraform detects necessary plugins by inspecting the configuration and state.
To view the provider versions requested by each module, run
"terraform providers".

- Downloading plugin for provider "random" (hashicorp/random) 2.3.0...
- Downloading plugin for provider "kubernetes" (hashicorp/kubernetes) 1.11.0...

Error: unable to verify signature

Error: no provider exists with the given name

Steps to reproduce the issue:

Running init with following provider configuration.

provider "banzaicloud/k8s" {
  version = "0.8.2"
}

Expected behavior

Provider installs without errors

Screenshots

Additional context

Terraform 0.12.29

bonifaido commented 4 years ago

I'm not sure if this supposed to work with Terraform 0.12 if this is a community provider. For example picked another provider https://registry.terraform.io/providers/gavinbunney/kubectl/latest/docs and it also gives the same error message to me on Terraform 0.12 but works fine on Terraform 0.13, as our k8s provider as well.