Installing local rack on ARM64 / M1 Mac

We’re preparing to upgrade our v2 Racks to v3, and as part of that are updating our local development process. However, when I try to install the local rack with CLI v3.1.0, I get errors regarding the Terraform providers (see below).

I think this PR will fix these errors, but I haven’t been able to figure out how to build the CLI locally with the terraform changes; it seems like the CLI always downloads the latest release from github.

Has anyone else run into this? Suggestions?

Upgrading modules...
Downloading github.com/convox/convox?ref=3.1.0 for system...
- system in .terraform/modules/system/terraform/system/local
- system.platform in .terraform/modules/system/terraform/platform
- system.rack in .terraform/modules/system/terraform/rack/local
- system.rack.api in .terraform/modules/system/terraform/api/local
- system.rack.api.k8s in .terraform/modules/system/terraform/api/k8s
- system.rack.k8s in .terraform/modules/system/terraform/rack/k8s
- system.rack.resolver in .terraform/modules/system/terraform/resolver/local
- system.rack.resolver.k8s in .terraform/modules/system/terraform/resolver/k8s
- system.rack.router in .terraform/modules/system/terraform/router/local
- system.rack.router.nginx in .terraform/modules/system/terraform/router/nginx

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/http versions matching "~> 1.1"...
- Finding hashicorp/external versions matching "~> 1.2"...
- Finding hashicorp/random versions matching "~> 2.2"...
- Finding hashicorp/tls versions matching "~> 2.1"...
- Finding hashicorp/kubernetes versions matching "~> 1.11"...
- Installing hashicorp/kubernetes v1.13.4...
- Installed hashicorp/kubernetes v1.13.4 (signed by HashiCorp)

Error: Incompatible provider version

Provider registry.terraform.io/hashicorp/http v1.2.0 does not have a package available for your current platform,
darwin_arm64.

Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other
versions of this provider may have different platforms supported.


Error: Incompatible provider version

Provider registry.terraform.io/hashicorp/external v1.2.0 does not have a package available for your current platform,
darwin_arm64.

Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other
versions of this provider may have different platforms supported.


Error: Incompatible provider version

Provider registry.terraform.io/hashicorp/random v2.3.1 does not have a package available for your current platform,
darwin_arm64.

Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other
versions of this provider may have different platforms supported.


Error: Incompatible provider version

Provider registry.terraform.io/hashicorp/tls v2.2.0 does not have a package available for your current platform, darwin_arm64.

Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other
versions of this provider may have different platforms supported.

Read the latest email announcement more carefully, noticed:

Support for local racks on Apple silicon is still in the works.

Is there anything we (community) can do to help with that?