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 404 when installing Terraform from hashicorp/tap #298

Open
DiegoDev2 opened this issue Dec 14, 2024 · 0 comments
Open

Error 404 when installing Terraform from hashicorp/tap #298

DiegoDev2 opened this issue Dec 14, 2024 · 0 comments

Comments

@DiegoDev2
Copy link

Problem:
When attempting to install Terraform from the hashicorp/tap using Homebrew, the installation fails with a 404 error while downloading the Terraform binary. It seems the formula points to an invalid URL or a version that is not available on HashiCorp's servers.

Steps to Reproduce

  1. Add the HashiCorp tap: brew tap hashicorp/tap
  2. Try to install Terraform: brew install hashicorp/tap/terraform

error ouput

==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Tapping hashicorp/tap
Cloning into '/usr/local/Homebrew/Library/Taps/hashicorp/homebrew-tap'...
remote: Enumerating objects: 5100, done.
remote: Counting objects: 100% (1408/1408), done.
remote: Compressing objects: 100% (421/421), done.
remote: Total 5100 (delta 1087), reused 1223 (delta 987), pack-reused 3692 (from 1)
Receiving objects: 100% (5100/5100), 924.18 KiB | 2.73 MiB/s, done.
Resolving deltas: 100% (3430/3430), done.
Tapped 2 casks and 32 formulae (92 files, 1.2MB).

==> Fetching hashicorp/tap/terraform
==> Downloading https://releases.hashicorp.com/terraform/1.10.2/terraform_1.10.2_darwin_amd64.zip
##O=-#     #
curl: (22) The requested URL returned error: 404
Error: terraform: Failed to download resource "terraform"
Download failed: https://releases.hashicorp.com/terraform/1.10.2/terraform_1.10.2_darwin_amd64.zip

Additional Information

OS: macOS 10.15
Homebrew version: Homebrew 4.4.11
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