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

v4.18.1 is not available on the registry #989

Closed
shogo82148 opened this issue Nov 27, 2021 · 4 comments
Closed

v4.18.1 is not available on the registry #989

shogo82148 opened this issue Nov 27, 2021 · 4 comments

Comments

@shogo82148
Copy link
Contributor

v4.18.1 is released on the GitHub Releases, however the latest version on the registry still points v4.18.0.

image

Terraform Version

Terraform v1.0.11
on darwin_amd64
+ provider registry.terraform.io/hashicorp/github v4.1.0
+ provider registry.terraform.io/integrations/github v4.18.0

Terraform Configuration Files

terraform {
  required_version = ">= 1.0"
  required_providers {
    github = {
      source = "integrations/github"
      version = "~> 4.18.1"
    }
  }
}

Expected Behavior

terraform init --upgrade should succeed.

Actual Behavior

% terraform init --upgrade

Initializing the backend...

Initializing provider plugins...
- Finding integrations/github versions matching "~> 4.18.1"...
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider integrations/github: no available releases match the given constraints ~> 4.18.1
╵

Steps to Reproduce

  1. bump the provider version to v4.18.1.
  2. run terraform init --upgrade

References

I have the problem on branch protection rules that issued as #908.
The CHANGELOG says that it is fixed on #914 and v4.18.1 includes the fix.

## 4.18.1 (Nov 22, 2021)
BUG FIXES:
- Add length requirement to `topics` option for `github_repository` ([[#951](https://github.com/integrations/terraform-provider-github/pull/951)])
- Add pagination to `selected_repositories` option for `github_actions_runner_group` ([[#970](https://github.com/integrations/terraform-provider-github/pull/970)])
- Add handling for new `node_id` format introduced to the GitHub GraphQL API (`github_repository`) ([[#914](https://github.com/integrations/terraform-provider-github/pull/914)])

4.18.1 (Nov 22, 2021)

BUG FIXES:

  • Add length requirement to topics option for github_repository ([#951])
  • Add pagination to selected_repositories option for github_actions_runner_group ([#970])
  • Add handling for new node_id format introduced to the GitHub GraphQL API (github_repository) ([#914])

This is why I want to use v4.18.1.
Thanks.

@bateller
Copy link

I've had terraform registry issues in the past (providers not updating). Just in case, I went ahead and opened a ticket with Hashicorp too. I'll update with any response on their end.

@petracvv
Copy link

petracvv commented Dec 1, 2021

FYI it looks like the 4.18.2 release they tagged on GitHub yesterday did get pushed to the registry.

@shogo82148
Copy link
Contributor Author

Thank you for your information.
That's right. The latest version on the registry now points v4.18.2.

image

and v4.18.1 is also available. (why...?)

I'm going to close the issue, because it looks a terraform registry issue, and I get the latest version now.
Thanks again!

@jcudit
Copy link
Contributor

jcudit commented Jan 5, 2022

🙇🏾 for raising this and glad it has auto-resolved.

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

4 participants