zero icon indicating copy to clipboard operation
zero copied to clipboard

Compatibility issue between terraform and darwin_arm64

Open jesseokeya opened this issue 4 years ago • 0 comments

Context

Seems like terraform provider registry.terraform.io/hashicorp/template does not have a package available for my current platform which darwin_arm64 (Apple Silicon). This is a known issue and the fix was to delete the terraform lock file .terraform.lock.hcl and perform the following steps here

Tried it and was still giving the same error

https://github.com/hashicorp/terraform/issues/27257

Error Log

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.
╵

make[1]: *** [apply-env] Error 1
make: *** [make-apply] Error 2
2021/11/05 13:11:25 Module Apply failed: Module (zero-aws-eks-stack) ╷
│ 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.
╵

make[1]: *** [apply-env] Error 1
make: *** [make-apply] Error 2

jesseokeya avatar Nov 05 '21 17:11 jesseokeya