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

wokrspace remote Error: "git must be available and on the PATH" while deploying terraform resource using wokrspace remote #309

Closed
a936455 opened this issue Jan 2, 2025 · 10 comments

Comments

@a936455
Copy link

a936455 commented Jan 2, 2025

I am using the terraform-provider to add "github_repository_collaborators" in GitHub organization.
I have done following septs as documented.

  1. Created secret git-credentials
    image
  2. installed provider and terraform-provider-config
    image
  3. add-repo-colloborator-composition.yaml
    image
  4. claim.yaml
    image

Error while deploying: Crossplane beta trace error:

image

Just for the information few months ago when I have deployed it was working fine.
checked the terraform-provider log. There is nothing.

Error: Can not connect to provider
image

Sorry for the long description Could you please help me here

@a936455 a936455 changed the title Getting error "git must be available and on the PATH" while deploying terraform resource using wokrspace remote wokrspace remote Error: "git must be available and on the PATH" while deploying terraform resource using wokrspace remote Jan 2, 2025
@innersavage
Copy link

Versions 19.1 and 19.2 of the images appear to be broken. They lack essential system binaries, including the Git binary, which causes the error described in the issue. The 19.0 image seems to be functioning correctly.

@turkenf: It looks like the 19.1 and 19.2 images need to be rebuilt to resolve these issues.

@jbw976
Copy link
Member

jbw976 commented Jan 6, 2025

Interesting, that would be unexpected given the small set of changes between v0.19.2 and v0.19.0: v0.19.0...v0.19.2

Looks like just some go dependency bumps for recently published vulnerabilities. I don't see the build process, docker file, base image, etc. changing there. @innersavage if you get a chance, can you share any debugging info you have for finding that the git binary doesn't exist in the xpkg.upbound.io/upbound/provider-terraform:v0.19.2 image? More investigation will be needed here it looks like 🙇‍♂️

@innersavage
Copy link

innersavage commented Jan 6, 2025

@jbw976 I'm not sure what type of debugging you expect :-) You can just pull the image and check it by yourself (like below):

image

As you can see, only couple of binaries are present in the image. Even busybox is missing.

Here's the 19.0 for comparison:

image

image

As you have noticed, nothing changed in the image build process and the changes between the versions shouldn't cause this issue. That's why my best guess is something went wrong in the environment on which the v0.19.1 and v0.19.2 images were built.

@turkenf
Copy link
Contributor

turkenf commented Jan 9, 2025

Hello @innersavage, @a936455

Thank you very much for your interest and sharing your findings. My teammate @sergenyalcin has been working on this issue and has created a test image that we think solves the issue.

I will share the image with you. If you have time, we would be very happy if you could test and verify it.
Test image: index.docker.io/sergenyalcin10/provider-terraform:git-test
Thanks in advance :)

@gazal-k
Copy link

gazal-k commented Jan 9, 2025

Had a look at that container image, it seemed to have git. Modified the terraform provider to use that image. Getting a different error now:

  Type     Reason                   Age   From                             Message
  ----     ------                   ----  ----                             -------
  Warning  CannotConnectToProvider  92s   managed/workspace.tf.upbound.io  cannot get remote Terraform module: error downloading '<GHE URL>': /usr/local/bin/git exited with 128: Cloning into '/tmp/getter268484131/temp'...
warning: templates not found in /usr/share/git-core/templates
git: 'remote-https' is not a git command. See 'git --help'.

@turkenf
Copy link
Contributor

turkenf commented Jan 10, 2025

Thank you for sharing @gazal-k, we will look into this 👀

@innersavage
Copy link

luc@pingu:~$ docker run --entrypoint /bin/bash -it index.docker.io/sergenyalcin10/provider-terraform:git-test 
bash-5.2$ cd /tmp                                                                                                                                                                                                 
bash-5.2$ echo 'module "example_module" { source = "terraform-aws-modules/vpc/aws" version = "3.19.0" }' > temp.tf && TF_LOG=DEBUG terraform init
2025-01-13T22:59:29.817Z [INFO]  Terraform version: 1.5.5
2025-01-13T22:59:29.817Z [DEBUG] using github.com/hashicorp/go-tfe v1.26.0
2025-01-13T22:59:29.817Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2
2025-01-13T22:59:29.817Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0
2025-01-13T22:59:29.817Z [DEBUG] using github.com/zclconf/go-cty v1.12.2
2025-01-13T22:59:29.817Z [INFO]  Go runtime version: go1.20.7
2025-01-13T22:59:29.817Z [INFO]  CLI args: []string{"terraform", "init"}
2025-01-13T22:59:29.817Z [DEBUG] Attempting to open CLI config file: /home/nonroot/.terraformrc
2025-01-13T22:59:29.817Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2025-01-13T22:59:29.817Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2025-01-13T22:59:29.817Z [DEBUG] ignoring non-existing provider search directory /home/nonroot/.terraform.d/plugins
2025-01-13T22:59:29.817Z [DEBUG] ignoring non-existing provider search directory /home/nonroot/.local/share/terraform/plugins
2025-01-13T22:59:29.817Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2025-01-13T22:59:29.817Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2025-01-13T22:59:29.818Z [INFO]  CLI command args: []string{"init"}

Initializing the backend...
2025-01-13T22:59:29.820Z [DEBUG] New state was assigned lineage "72e34eb5-c12e-4e78-5351-f7fdb6f2d57e"
2025-01-13T22:59:29.820Z [DEBUG] checking for provisioner in "."
2025-01-13T22:59:29.820Z [DEBUG] checking for provisioner in "/usr/local/bin"
Initializing modules...
2025-01-13T22:59:29.821Z [DEBUG] Module installer: begin example_module
2025-01-13T22:59:29.821Z [DEBUG] example_module listing available versions of registry.terraform.io/terraform-aws-modules/vpc/aws at registry.terraform.io
2025-01-13T22:59:29.821Z [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2025-01-13T22:59:30.345Z [DEBUG] fetching module versions from "https://registry.terraform.io/v1/modules/terraform-aws-modules/vpc/aws/versions"
2025-01-13T22:59:30.345Z [DEBUG] GET https://registry.terraform.io/v1/modules/terraform-aws-modules/vpc/aws/versions
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.0.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.0.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.0.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.0.3" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.0.4" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.1.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.2.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.3.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.4.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.4.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.5.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.5.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.6.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.7.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.8.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.9.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.9.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.10.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.11.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.12.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.13.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.14.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.15.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.16.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.17.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.18.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.19.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.20.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.21.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.22.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.22.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.23.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.24.0-pre" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.25.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.26.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.27.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.28.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.29.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.30.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.31.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.32.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.33.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.34.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.35.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.36.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.37.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.38.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.39.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.40.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.41.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.42.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.43.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.43.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.43.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.44.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.45.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.46.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.47.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.48.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.49.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.50.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.51.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.52.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.53.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.54.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.55.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.56.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.57.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.58.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.59.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.60.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.61.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.62.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.63.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.64.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.65.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.66.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.67.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.68.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.69.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.70.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.71.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.72.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "1.73.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.0.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.1.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.2.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.3.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.4.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.5.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.6.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.7.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.8.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.9.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.10.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.11.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.12.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.13.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.14.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.15.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.16.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.17.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.18.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.19.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.20.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.21.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.22.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.23.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.24.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.25.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.26.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.27.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.28.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.29.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.30.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.31.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.32.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.33.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.34.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.35.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.36.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.37.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.38.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.39.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.40.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.41.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.42.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.43.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.44.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.45.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.46.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.47.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.48.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.49.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.50.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.51.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.52.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.53.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.54.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.55.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.56.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.57.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.58.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.59.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.60.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.61.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.62.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.63.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.64.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.366Z [DEBUG] found available version "2.65.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.66.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.67.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.68.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.69.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.70.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.71.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.72.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.73.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.74.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.75.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.76.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.77.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "2.78.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.0.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.1.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.2.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.3.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.4.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.5.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.6.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.7.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.8.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.9.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.10.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.11.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.11.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.11.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.11.3" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.11.4" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.11.5" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.12.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.13.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.14.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.14.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.14.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.14.3" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.14.4" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.15.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.16.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.16.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.17.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.18.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.18.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "3.19.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "4.0.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "4.0.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "4.0.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.0.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.1.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.1.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.1.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.2.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.3.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.4.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.5.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.5.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.5.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.5.3" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.6.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.7.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.7.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.7.2" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.8.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.8.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.9.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.10.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.11.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.12.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.12.1" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.13.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.14.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.15.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.16.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [DEBUG] found available version "5.17.0" for terraform-aws-modules/vpc/aws
2025-01-13T22:59:30.367Z [WARN]  ModuleInstaller: example_module ignoring 1.24.0-pre because the version constraints () could not be parsed: empty specification
Downloading registry.terraform.io/terraform-aws-modules/vpc/aws 5.17.0 for example_module...
2025-01-13T22:59:30.369Z [DEBUG] looking up module location from "https://registry.terraform.io/v1/modules/terraform-aws-modules/vpc/aws/5.17.0/download"
2025-01-13T22:59:30.369Z [DEBUG] GET https://registry.terraform.io/v1/modules/terraform-aws-modules/vpc/aws/5.17.0/download
╷
│ Error: Failed to download module
│ 
│   on temp.tf line 1:
│    1: module "example_module" { source = "terraform-aws-modules/vpc/aws" version = "3.19.0" }
│ 
│ Could not download module "example_module" (temp.tf:1) source code from "git::https://github.com/terraform-aws-modules/terraform-aws-vpc?ref=573f574c922782bc658f05523d0c902a4792b0a8": error downloading
│ 'https://github.com/terraform-aws-modules/terraform-aws-vpc?ref=573f574c922782bc658f05523d0c902a4792b0a8': /usr/local/bin/git exited with 128: Cloning into '.terraform/modules/example_module'...
│ warning: templates not found in /usr/share/git-core/templates
│ git: 'remote-https' is not a git command. See 'git --help'.
│ .
╵

bash-5.2$ 

The image has git now, however it's still missing other binaries (including libraries). This particular error is result of missing libcurl in the image.

@turkenf
Copy link
Contributor

turkenf commented Jan 24, 2025

Hello folks,

We have a new version v0.19.3 that we think fixes this issue. So I'm closing this issue for now. If the issue persists on your side, feel free to reopen it.

@turkenf turkenf closed this as completed Jan 24, 2025
@gazal-k
Copy link

gazal-k commented Jan 28, 2025

Thank you for that. xpkg.upbound.io/upbound/provider-terraform:v0.19.3 does seem to work as before 👍

Can't see what changed though 😞 v0.19.2...v0.19.3
Could you please share what the fix was?

@jeanduplessis
Copy link
Contributor

@gazal-k The issues with the broken versions were unrelated to the provider code, but crept in due to the new build pipeline we use when building and publishing them to the registry. We've ironed out the problems and it should no longer be an issue going forward.

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

6 participants