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

Fix wrong zip compress format for Terraform registry #68

Closed
KeisukeYamashita opened this issue Sep 2, 2020 · 0 comments · Fixed by #69
Closed

Fix wrong zip compress format for Terraform registry #68

KeisukeYamashita opened this issue Sep 2, 2020 · 0 comments · Fixed by #69
Assignees

Comments

@KeisukeYamashita
Copy link
Contributor

KeisukeYamashita commented Sep 2, 2020

WHAT

As title.

How to reproduce

Make sure that you have Terraform version upper than 0.13.0.

$ terraform version
Terraform v0.13.1

And then write a provider block.

terraform {
  required_providers {
    miro = {
      source = "mercari/spinnaker"
    }
  }
}

provider "spinnaker" {
  gate_endpoint = "https://spinnaker.nokisai.com"
}

Run below.

$ terraform init
Initializing the backend...

Initializing provider plugins...
- Finding latest version of mercari/spinnaker...
- Finding latest version of hashicorp/spinnaker...
- Installing mercari/spinnaker v0.2.3...


Error: Failed to install provider

Error while installing mercari/spinnaker v0.2.3: zip: not a valid zip file


Error: Failed to install provider

Error while installing hashicorp/spinnaker: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/spinnaker

WHY

The pull tgz format from the Terraform Registry is not currect, and not runnable.

@KeisukeYamashita KeisukeYamashita self-assigned this Sep 2, 2020
@KeisukeYamashita KeisukeYamashita changed the title Fix wrong compress format for Terraform registry Fix wrong zip compress format for Terraform registry Sep 2, 2020
@KeisukeYamashita KeisukeYamashita linked a pull request Sep 3, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant