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

Request for linux_arm64 build #119

Open
tusv opened this issue Nov 2, 2023 · 2 comments
Open

Request for linux_arm64 build #119

tusv opened this issue Nov 2, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@tusv
Copy link

tusv commented Nov 2, 2023

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.

@tusv tusv added the enhancement New feature or request label Nov 2, 2023
@rvashishth
Copy link

rvashishth commented Jan 29, 2024

I have exact same requirement. Thanks for opening the issue.

@tusv please explain the steps for the workaround.

@rvashishth
Copy link

I have exact same requirement. Thanks for opening the issue.

@tusv please explain the steps for the workaround.

Following steps worked for me

  1. Build this repo for linux arm64 arch

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

  1. Place the build artifact as below under .terraform dir
Screenshot 2024-02-12 at 2 25 26 PM
  1. Set the plugin dir as env variable for terraform

TF_PLUGIN_CACHE_DIR=/workspace/terraform/infra/platform/.terraform/plugins

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

No branches or pull requests

2 participants