Skip to content

Add git to the Dockerfile so Terraform modules work #3724

Closed
@jakehwll

Description

@jakehwll

Due to the image being based on raw alpine, the example examples/templates/gcp-vm-container won't run due to lacking git.

  Error: Failed to download module
  
  Could not download module "gce-container" (main.tf:31) source code from
  "git::https://github.com/terraform-google-modules/terraform-google-container-vm?ref=v3.0.0":
  error downloading
  'https://github.com/terraform-google-modules/terraform-google-container-vm?ref=v3.0.0':
  git must be available and on the PATH.
  
  
  Error: Failed to download module
  
  Could not download module "gce-container" (main.tf:31) source code from
  "git::https://github.com/terraform-google-modules/terraform-google-container-vm?ref=v3.0.0":
  error downloading
  'https://github.com/terraform-google-modules/terraform-google-container-vm?ref=v3.0.0':
  git must be available and on the PATH.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions