-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Open
Labels
Description
Current Terraform Version
v0.11.7
Use-cases
Terraform module sparse checkout and specify depth. While terraform suggest 1 module per repo, there are orgs which are more willing to manage multiple related modules together. This gives faster feedback cycle also, related pull requests in one repo etc..
Attempted Solutions
Couldn't find any thing relevant.
Proposal
possibly we can evolve source with backward compatibility as
module dynamo-auto {
source = "git::https://github.com/cloudposse/terraform-aws-dynamodb-autoscaler.git?ref=master"
}
and also
module dynamo-auto {
source = {
repo = "git::https://github.com/cloudposse/terraform-aws-dynamodb-autoscaler.git?ref=master"
depth = 1
path = /modules/dynamo
}
which allows to sparse checkout /modules/dynamo as relevant terraform module.
Reactions are currently unavailable