I managed to get it working by doing the following:
- Remove any existing Terraform binary (
/usr/bin/terraform
and/or/usr/local/bin/terraform
) - Install m1-terraform-provider-helper
2.1brew install kreuzwerker/taps/m1-terraform-provider-helper
- Install Terraform
3.1brew tap hashicorp/tap
3.2brew install hashicorp/tap/terraform
- Install the
hashicorp/template
versionv2.2.0
4.1m1-terraform-provider-helper install hashicorp/template -v v2.2.0
My terraform version now:
➜ ~ terraform --version
Terraform v1.1.5
on darwin_arm64
FYI @amaudy