codefresh-io / terraform-provider-codefresh

Terraform provider for the Codefresh API
https://registry.terraform.io/providers/codefresh-io/codefresh
Mozilla Public License 2.0
18 stars 24 forks source link

Error when migrate to Terraform Registry Codefresh Provider #60

Open thiagolsfortunato opened 3 years ago

thiagolsfortunato commented 3 years ago

After I've moved to Registry Codefresh Provider and run terraform init the Terraform returns the error below:

Initializing the backend...

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

Initializing provider plugins...
- Finding codefresh-io/codefresh versions matching "0.0.19"...
- Finding codefresh.io/app/codefresh versions matching "0.0.19"...
- Installing codefresh-io/codefresh v0.0.19...
- Installed codefresh-io/codefresh v0.0.19 (signed by a HashiCorp partner, key ID 2CBA2F3A84CED39F)

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/cli/plugins/signing.html
╷
│ Error: Invalid provider registry host
│ 
│ The host "codefresh.io" given in in provider source address "codefresh.io/app/codefresh" does not offer a Terraform provider registry.
╵

My configuration files:

provider.tf:

provider "codefresh" {
  api_url = "https://g.codefresh.io/api"
  token   = var.codefresh_token
}

versions.tf:

terraform {
  required_version = ">= 0.15"

  required_providers {
    codefresh = {
      version = "0.0.19"
      source  = "codefresh-io/codefresh"
    }
  }
}

If I follow the README.md instructions, downloading and install locally, the command works fine. https://github.com/codefresh-io/terraform-provider-codefresh#using-the-provider

thiagolsfortunato commented 3 years ago

any news?