Closed ahmedig closed 3 years ago
I'm seeing the same behavior on Terraform v0.13.0.
error download on terraform 0.13.0
Could not download module "vnetpeering" (main.tf:68) source code from "git::https://github.com/Azure/terraform-azurerm-vnetpeering?ref=v1.0.0": error downloading 'https://github.com/Azure/terraform-azurerm-vnetpeering?ref=v1.0.0': C:\Program Files\Git\mingw64\bin\git.exe exited with 1: error: pathspec 'v1.0.0' did not match any file(s) known to git .
I will try clone it localy
Having this exact same problem from my Gitlab Runner. Is there any way to fix this, apart from a local clone?
Also seeing the same issue.
@VaijanathB I believe the problem is that you're referencing v1.0.0 in the Terraform Registry and the only tag/release that exists in Github is for v1.0.
Can you create a tag for v1.0.0 or update the registry to use v1.0 so that we can pull the module?
Thanks!
@grayzu Can you please take a look ?
I have updated the tag to match the module so both are v1.0.0 and just tested to ensure the module downloads correctly when referenced in a configuration so this should be good to go.
Hello,
I tried using the module, but I got this message:
Error: Failed to download module
Could not download module "vnetpeering" (networks.tf:31) source code from "https://github.com/Azure/terraform-azurerm-vnetpeering/archive/v1.0.0.tar.gz//*?archive=tar.gz": bad response code: 404.
Terraform version: 0.12.24
Thats the code that I used: