Closed andresvia closed 2 years ago
The problem persist on 0.14.0
terraform {
required_providers {
venafi = {
source = "venafi/venafi"
version = "~> 0.14.0"
}
}
}
provider "venafi" {
api_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
zone = "Business App\\Enterprise CIT"
}
Initializing provider plugins...
- Finding venafi/venafi versions matching "~> 0.14.0"...
2022-02-09T06:27:11.058-0800 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2022-02-09T06:27:11.356-0800 [DEBUG] GET https://registry.terraform.io/v1/providers/venafi/venafi/versions
2022-02-09T06:27:11.558-0800 [DEBUG] GET https://registry.terraform.io/v1/providers/venafi/venafi/0.14.0/download/darwin/arm64
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/venafi/venafi v0.14.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.
@andresvia that's correct, we are not yet supporting darwin_arm64
but are planning to in a future release and will publish it to the Terraform registry when we do.
The problem still persist on the new release 0.15.0
. Thanks.
Hi @andresvia, we are happy to let you know that we addressed this enhancement in the release version 0.15.1
:tada: :confetti_ball:
Update: @andresvia in order to be able to import it from the Terraform registry you need to point to version v0.15.2, since we had an issue when publishing it to the registry.
I tried it out with:
main.tf
terraform {
required_providers {
venafi = {
source = "Venafi/venafi"
version = "~> 0.15.2"
}
}
}
And:
terraform init -upgrade
And apply|destroy
is working for me in my Darwin ARM64, thanks!
PROBLEM SUMMARY
Can't init terraform.
STEPS TO REPRODUCE
terraform init
EXPECTED RESULTS
Terraform init without errors.
ACTUAL RESULTS
Terraform init with errors.
ENVIRONMENT DETAILS
uname -a
terraform version
COMMENTS/WORKAROUNDS
Workaround (YMMV, use at your own risk)
git clone https://github.com/Venafi/terraform-provider-venafi.git
git checkout v0.13.0
go build
mv terraform-provider-venafi ~/.terraform.d/plugins/registry.terraform.io/venafi/venafi/0.13.0/darwin_arm64/terraform-provider-venafi_v0.13.0_x5
You may need to tweak your
.terraform.lock.hcl
file.Note: I don't know what
_x5
stands for. (see)REFERENCES