LoginSignup
3
1

M1 Macでtfenv installする際に、「curl: (22) The requested URL returned error: 404」となる場合について

Last updated at Posted at 2023-01-13

はじめに

最近、Terraformの勉強をしています。
Terraformのバージョン管理ツールである
tfenvでエラーが出たので対処方法を残します。

エラー内容

実行コマンドとエラー内容

% tfenv install 0.13.6
Installing Terraform v0.13.6
Downloading release tarball from https://releases.hashicorp.com/terraform/0.13.6/terraform_0.13.6_darwin_arm64.zip
curl: (22) The requested URL returned error: 404                                                                      

Tarball download failed 

始まりかけて失敗しているようです。。

対処

以下のコマンドでインストールする

% TFENV_ARCH=amd64 tfenv install 0.13.6
  inflating: /opt/homebrew/Cellar/tfenv/3.0.0/versions/0.13.6/terraform  
Installation of terraform v0.13.6 successful. To make this your default version, run 'tfenv use 0.13.6'

成功しました!

終わりに

引き続きTerraformの勉強を進めていきます。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1