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

[ERROR] Failed to instantiate provider "pass" to obtain schema: fork/exec #35

Open
DnR-iData opened this issue Jul 31, 2020 · 0 comments

Comments

@DnR-iData
Copy link

DnR-iData commented Jul 31, 2020

Hi,

I'm trying to create a docker image with terraform, terragrunt, passwordstore and terraform-provider-pass and I have this error :

[terragrunt] 2020/07/31 12:01:44 Running command: terraform plan

Error: Failed to instantiate provider "pass" to obtain schema: fork/exec /app/tests/.terraform/plugins/linux_amd64/terraform-provider-pass: no such file or directory
$ /app/tests/.terraform/plugins/linux_amd64/terraform-provider-pass
/bin/sh: /app/tests/.terraform/plugins/linux_amd64/terraform-provider-pass: not found
$ ls /app/tests/.terraform/plugins/linux_amd64/
$ ls -l /app/tests/.terraform/plugins/linux_amd64/
total 215640
-rwxr-xr-x    1 1000     1000           485 Jul 31 10:31 lock.json
-rwxr-xr-x    1 1000     1000      20427104 Jul 31 10:31 terraform-provider-external_v1.2.0_x4
-rwxr-xr-x    1 1000     1000      60207104 Jul 31 10:30 terraform-provider-google-beta_v3.32.0_x5
-rwxr-xr-x    1 1000     1000      58187776 Jul 31 10:31 terraform-provider-google_v3.32.0_x5
-rwxr-xr-x    1 1000     1000      20373856 Jul 31 10:31 terraform-provider-null_v2.1.2_x4
-rwxrwxr-x    1 1000     1000      39895105 Jul 24 12:56 terraform-provider-pass
-rwxr-xr-x    1 1000     1000      21704704 Jul 31 10:31 terraform-provider-random_v2.3.0_x4

pass show xxxxx works well.

No problem on host system (terragrunt plan success) :

$ ~/.terraform.d/plugins/terraform-provider-pass 
This binary is a plugin. These are not meant to be executed directly.
Please execute the program that consumes these plugins, which will
load any plugins automatically

I've tryed this images with no success :

  • golang:buster
  • debian:10-slim
  • hashicorp/terraform

Installing last version of all tools (terraform, terragrunt pass, terraform-provider-pass) no success too.

Any idea ?

Thanks

DR

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