infobloxopen / terraform-provider-infoblox

Infoblox NIOS Terraform Provider
https://github.com/infobloxopen/terraform-provider-infoblox
Mozilla Public License 2.0
73 stars 81 forks source link

Release v2.5.0 not available? #343

Closed ppuschmann closed 7 months ago

ppuschmann commented 7 months ago

While trying to use the provider in Terraform, I'm greeted with this message:

Error: Failed to query available provider packages
│ 
│ Could not retrieve the list of available versions for provider infobloxopen/infoblox: no available releases match the given constraints >= 2.5.0

Also the possible workaround via https://github.com/kreuzwerker/m1-terraform-provider-helper does not work:

$ m1-terraform-provider-helper install infobloxopen/infoblox -v v2.5.0

Could not download module <redacted>  source code from "git::https://github.com/terraform-google-modules/terraform-google-cloud-dns?ref=ca4b04bc5d0159dafcc478093e4453bd5dca448f": error
│ downloading 'https://github.com/terraform-google-modules/terraform-google-cloud-dns?ref=ca4b04bc5d0159dafcc478093e4453bd5dca448f': /opt/homebrew/bin/git exited with 128: Cloning into
│ '.terraform/modules/<redacted> '...
│ error: 2970 bytes of body are still expected
│ fetch-pack: unexpected disconnect while reading sideband packet
│ fatal: early EOF
│ fatal: fetch-pack: invalid index-pack output

Environment: macOS, arm64

Terraform-code:

terraform {
  required_providers {
    infoblox = {
      source = "infobloxopen/infoblox"
      version = "2.5.0"
    }
  }
}

provider "infoblox" {
  # Configuration options
}

(see https://registry.terraform.io/providers/infobloxopen/infoblox/latest/docs -> how to use provider)

relates to !278

Latest available / usable version: infobloxopen/infoblox v2.4.1

SanjeevManurkar commented 7 months ago

We are looking into this issue.

SanjeevManurkar commented 7 months ago

@ppuschmann

We tried with different combinations as below but all are working.

version = “2.5.0” >> Install 2.5.0 version = “>=2.5.0" >> Install 2.5.0 version = “~>2.5.0” >> Install 2.5.0 version = “<2.5.0" >> Install 2.4.1 version = “>=2.5.0” >> Upgrade to 2.5.0 [terraform init --upgrade]

We are Unable to reproduce the issue.

Please raise a NIOS support case with relevant details and let the SA/AE know the support case ID.

ppuschmann commented 7 months ago

Hi there,

further testing showed I made an error on the m1-terraform-helper command where I put a v as a prefix to the version number. Issuing the command m1-terraform-provider-helper install infobloxopen/infoblox -v 2.5.0 works.

So, yes, version 2.5.0 is available, but unfortunately not as an arm64 version for macOS.

It'd be totally great if you could create and upload also arm64 versions of your provider.

Thank you very much for the quick reaction.

SanjeevManurkar commented 7 months ago

Thank you for the details. We will close this issue for now.