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

Doesn't work inside alpine based docker image #10

Open
ufo0531 opened this issue Sep 16, 2020 · 0 comments
Open

Doesn't work inside alpine based docker image #10

ufo0531 opened this issue Sep 16, 2020 · 0 comments

Comments

@ufo0531
Copy link

ufo0531 commented Sep 16, 2020

This plugin doesn't work with alpine based terraform docker image (which the official terraform docker image is the case).

When trying to use the plugin, it will give errors like below:

Failed to instantiate provider "openfaas.com/edwardwilde/openfaas" to obtain schema: fork/exec .terraform/plugins/openfaas.com/edwardwilde/openfaas/3.2/linux_amd64/terraform-provider-openfaas_v3.2: no such file or directory
After some google search, it seems to be a known issue with CGO and Alpine Linux. When doing go build, CGO_ENABLED=0 needs to be set.

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

No branches or pull requests

1 participant