Loading...
Loading...
### Terraform Version Have reproduced this with beta1, beta2, and a dev compiled version from master today. ``` Terraform v0.12.0-beta1 Terraform v0.12.0-beta2 Terraform v0.12.0-dev ``` ### Terraform Configuration Files ```hcl module "modx" { source = "git::../../../repo//path/to/module?ref=621" ``` ### Debug Output Doesn't appear to be extremely useful, except perhaps this line: ``` 2019/04/25 10:33:15 [TRACE] go-getter detectors rewrote "git::../../../repo?ref=621" to "git::file:///repo?ref=621" ``` ### Expected Behavior `terraform init` should succeed ### Actual Behavior `terraform init` fails as follows: 0.12.0-beta1 ``` Error: Failed to download module Error attempting to download module "modx" (mod_x.tf:6) source code from "git::../../../repo?ref=621": error downloading 'file:///repo?ref=621': /usr/bin/git exited with 128: Cloning into '.terraform/modules/modx'... fatal: '/repo' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` 0.12.0-beta2 and 0.12.0-dev ``` Error: Failed to download module Error attempting to download module "modx" (mod_x.tf:6) source code from "git::./../../../repo?ref=621": ``` ### Steps to Reproduce 1. Use a local filesystem Git repo and reference it as specified above 2. `terraform init` ### Additional Context These local filesystem git references work in 0.11.x
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.