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

The archive filename requirements are different between docs and actual behavior #390

Open
ms-henglu opened this issue Apr 12, 2022 · 0 comments

Comments

@ms-henglu
Copy link

Hi team, I was releasing a terraform provider and I met the following errors.

The doc says

There are 1 or more zip files containing the built provider binary for a single architecture.
The binary name is terraform-provider-{NAME}_v{VERSION}.
The archive name is terraform-provider-{NAME}_{VERSION}_{OS}_{ARCH}.zip.

But when I was doing this, and terraform init throws an error

│ Error: Failed to install provider
│
│ Error while installing azure/azapi v0.1.0: unsuccessful request to
│ https://github.com/Azure/terraform-provider-azapi/releases/download/v0.1.0/terraform-provider-azapi_v0.1.0_windows_amd64.zip: 404 Not Found
╵

Please notice the difference is v before version v0.1.0. After I renamed the archives by adding v before version, it works.

I think this is kind of strange that these files are not following the same pattern, zip files/binary files have v before version, but checksum file and signature file don't.

https://www.terraform.io/registry/providers/publishing?_ga=2.204875920.1848645224.1649644205-1459696673.1614833669#manually-preparing-a-release

@dstaley dstaley transferred this issue from hashicorp/terraform-website Jul 5, 2023
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