sleuth-io/terraform-provider-sleuth

Platform: darwin_arm64 not supported

Closed this issue · 2 comments

I am not able to use the provider on Mac M1/M2. Currently downloading rosetta as a potential workaround.

Terraform Version

terraform -v 
Terraform v1.3.4
on darwin_arm64

Your version of Terraform is out of date! The latest version
is 1.3.9. You can update by downloading from https://www.terraform.io/downloads.html

Affected Resource(s)

Provider not setup for Mac Silion

Terraform Configuration Files

terraform {
  required_version = ">= 0.13.0"

  required_providers {
    sleuth = {
      source = "sleuth-io/sleuth"
      version = "~> 0.2.0"
    }
  }
}

Debug Output

Initializing provider plugins...
- Finding sleuth-io/sleuth versions matching "~> 0.2.0"...
╷
│ Error: Incompatible provider version
│ 
│ Provider registry.terraform.io/sleuth-io/sleuth v0.2.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.
╵

Expected Behavior

Provider should download to mac silicon

Actual Behavior

Error saying darwin not supported.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform init

Closing, updating to newest provider, fixes support. Should probably update basic documentation to use a newer provider then what is listed in the Terraform Module Registry.

mrdon commented

Ah, so 0.3.5 works for you then? That is also the version in the registry. Perhaps your version was pinned?