Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when migrate to Terraform Registry Codefresh Provider #60

Open
thiagolsfortunato opened this issue Jul 27, 2021 · 1 comment
Open

Comments

@thiagolsfortunato
Copy link

thiagolsfortunato commented Jul 27, 2021

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
Copy link
Author

any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant