Skip to content

Sourcing module with git by cloning in shallow mode #10703

@samber

Description

@samber

Hi there,

We have a heavy git repository with a lot of Terraform modules. When we execute a terraform get it take ~20min to download dependencies (a git clone for each module call !).

We removed from the repository some binary files on the master branch. But unfortunately, nothing changed because Terraform do a git clone instead of git clone --depth 1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions