identiops / terraform-hcloud-k3s

Private k3s Kubernetes Terraform installer for Hetzner Cloud
https://identiops.com/projects/k3s
MIT License
68 stars 10 forks source link

Doesn't work on macos apple silicon #19

Open mohit2152sharma opened 9 hours ago

mohit2152sharma commented 9 hours ago

I tried to run this and encountered the following error.

  1. I downloaded the main.tf file with this command: curl -LO https://github.com/identiops/terraform-hcloud-k3s/raw/main/examples/1Region_3ControlPlane_3Worker_Nodes/main.tf
  2. I do terraform init and get the following error:
Initializing the backend...
Initializing modules...
Initializing provider plugins...
- Finding hashicorp/random versions matching "~> 3.6.0"...
- Finding hashicorp/template versions matching "~> 2.2.0"...
- Finding hashicorp/time versions matching "~> 0.10.0"...
- Finding hetznercloud/hcloud versions matching "~> 1.45.0"...
- Finding hashicorp/http versions matching "~> 3.4.1"...
- Finding hashicorp/local versions matching "~> 2.4.1"...
- Installing hashicorp/http v3.4.5...
- Installed hashicorp/http v3.4.5 (signed by HashiCorp)
- Installing hashicorp/local v2.4.1...
- Installed hashicorp/local v2.4.1 (signed by HashiCorp)
- Installing hashicorp/random v3.6.3...
- Installed hashicorp/random v3.6.3 (signed by HashiCorp)
- Installing hashicorp/time v0.10.0...
- Installed hashicorp/time v0.10.0 (signed by HashiCorp)
- Installing hetznercloud/hcloud v1.45.0...
- Installed hetznercloud/hcloud v1.45.0 (signed by a HashiCorp partner, key ID 5219EACB3A77198B)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
╷
│ 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.
╵
jceb commented 9 hours ago

Thanks for reporting. I'm afraid not much can be done about the issue right now. Best you open an issue with terraform to make this provider available for apple silicon.

mohit2152sharma commented 9 hours ago

Might be worth adding a note about the same in readme, for other people references.