kreuzwerker / m1-terraform-provider-helper

CLI to support with downloading and compiling terraform providers for Mac with M1 chip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install providers ##new##

arimal199 opened this issue · comments

Expected Behavior

installing providers to local plugin cache

Actual Behavior

error with downloading from source

Steps to Reproduce (including precondition)

m1-terraform-provider-helper activate
m1-terraform-provider-helper install hashicorp/aws
"Getting provider data from terraform registry
Getting source code...
Compiling...
error: Malformed version"

Screenshot on This Problem (if possible)

Screen Shot 2022-09-03 at 15 46 56

Your Environment

  • OS: Mac OS 12.5.1 (Apple M1)
  • m1-terraform-provider-helper version: 0.7.5

You have to supply the version with the -v parameter. See also https://github.com/kreuzwerker/m1-terraform-provider-helper#usage

The current implemented timeout for issued HTTP calls is 2 seconds. It appears that you are hitting that timeout. I will increase that timeout to a higher number, this has happened to other users as well.