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

Platform: darwin_arm64 not supported #63

Closed
bijenkins opened this issue Feb 28, 2023 · 2 comments
Closed

Platform: darwin_arm64 not supported #63

bijenkins opened this issue Feb 28, 2023 · 2 comments

Comments

@bijenkins
Copy link

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
@bijenkins
Copy link
Author

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
Copy link
Contributor

mrdon commented Mar 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants