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

Fails to run on ARM64/Apple Silicon #1115

Closed
hazcod opened this issue Dec 27, 2021 · 1 comment · Fixed by #1119
Closed

Fails to run on ARM64/Apple Silicon #1115

hazcod opened this issue Dec 27, 2021 · 1 comment · Fixed by #1119
Labels
bug Something isn't working

Comments

@hazcod
Copy link

hazcod commented Dec 27, 2021

TL;DR

The module terraform-google-modules/kubernetes-engine/google//modules/auth still uses template, which is archived and will not be released for the ARM64 architecture, preventing anyone with Apple Silicon from using the module.

Expected behavior

It works.

Observed behavior

│ Error: Incompatible provider version
│ 
│ Provider registry.terraform.io/hashicorp/template 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.

Terraform Configuration

module "gke_auth" {
  source               = "terraform-google-modules/kubernetes-engine/google//modules/auth"

  providers = {
    google = google
  }

  project_id           = var.gcp_project_id
  cluster_name         = "dev"
  location             = "europe-west1-b"
  use_private_endpoint = true
}

Terraform Version

Terraform v1.1.2
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google-beta v4.5.0

Additional information

No response

@hazcod hazcod added the bug Something isn't working label Dec 27, 2021
@hazcod
Copy link
Author

hazcod commented Dec 27, 2021

I also tried manually compiling and then copying the template binary via cp terraform-provider-template ~/.terraform.d/plugins/registry.terraform.io/hashicorp/template/ but this results in the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant