Skip to content

Unable to use provider on alpine/musl #340

Description

@andresousadotpt

Your environment

Terraform Provider Version: 3.2.1

Authentication Method: Using service account token

OS: Alpine 3.22

Terraform Version: OpenTofu v1.10.7

What happened?

So basically when running tofu init it is unable to get onepassword provider on version 3.2.1, but it can fetch 2.2.1 for example.

What did you expect to happen?

To successfully fetch the provider.

Steps to reproduce

  1. Prepare a tofu module with a onepassword data source
  2. Run a container with alpine 3.22 with opentofu
  3. run tofu init

Notes & Logs

error failed to read schema for data.onepassword_item.secret_item in registry.opentofu.org/1password/onepassword: failed to instantiate provider "registry.opentofu.org/1password/onepassword" to obtain schema: fork/exec (...) No such file or directory

I was able to fix this by installing gcompat (apk add gcompat).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected. Has never worked before. When it has, use "regression" instead.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions