-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Question] missing build for Darwin Arm64 #13
Comments
It's possible to do checks without creating a custom provider now. Will https://github.com/rhythmictech/terraform-terraform-errorcheck work? |
The errorcheck module is generally going to be better than the provider, but I think all that may need to happen is to run a new build. I don't think darwin_arm64 existed yet when the last release was cut. |
If you cannot migrate all "errorcheck" resources from the provider to the module, as in my case because I have more than 1000 module instances using this provider, you can compile your version for Darwin ARM64 by following these steps:
import (
- "github.com/hashicorp/terraform/helper/schema"
+ "github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)
import (
- "github.com/hashicorp/terraform/plugin"
- "github.com/hashicorp/terraform/terraform"
+ "github.com/hashicorp/terraform-plugin-sdk/plugin"
+ "github.com/hashicorp/terraform-plugin-sdk/terraform"
)
import (
"fmt"
"strconv"
- "github.com/hashicorp/terraform/helper/schema"
+ "github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)
Once you have the provider compiled for Darwin ARM64, you need to instruct Terraform to look for this provider on the local disk instead of registry.terraform.io. To do this, follow these steps (+ Doc):
mv terraform-provider-errorcheck terraform-provider-errorcheck_v3.0.0 With these steps, you can use the locally compiled rhythmictech/errorcheck provider for Darwin ARM64. Enjoy! |
Hello,
There is a missing build for Darwin Arm64 in releases, even though it's included in the goreleaser configuration.
The error message:
Provider registry.terraform.io/rhythmictech/errorcheck v3.0.0 does not have a package available for your current platform, darwin_arm64.
Any chance to investigate it?
The text was updated successfully, but these errors were encountered: