Open tusv opened 8 months ago
I have exact same requirement. Thanks for opening the issue.
@tusv please explain the steps for the workaround.
I have exact same requirement. Thanks for opening the issue.
@tusv please explain the steps for the workaround.
Following steps worked for me
git clone --branch v0.16.1 --single-branch https://github.com/Venafi/terraform-provider-venafi.git
GOOS=linux GOARCH=arm64 go build -o terraform-provider-venafi_v0.16.1
.terraform
dirTF_PLUGIN_CACHE_DIR=/workspace/terraform/infra/platform/.terraform/plugins
BUSINESS PROBLEM We are using docker desktop on Apple Silicon mac to build linux images with arm64. Terraform itself supports linux_arm64 and most of the providers we use also support it with an exception of venafi.
PROPOSED SOLUTION Build the provider for linux_arm64 architecture and make it available via terraform registry.
CURRENT ALTERNATIVES As a workaround we are able to hack provider installation by creating a file system mirror with a manual copy of linux_amd64 folder for venafi named as linux_arm64 and using that mirror specifically for venafi.
VENAFI EXPERIENCE Using Venafi for last 3+ years to manage both public and private server certificates.