Installed remote modules through Azure DevOps not decoded?

Hi guys,

I’m trying to create a central repository for our modules hosted in an Azure DevOps organization.
I can run terraform init -backend=false (because of local testing) just fine and the modules are downloaded in .terraform\modules.

I just can’t get the module to autocomplete.
For testing I’ve done the steps as mentioned in the below issue and that does work. Only difference seem to be it’s hosted on Github instead of Azure Devops.
But I reckon this doesn’t matter too much as they’re both using “source = “git::”

Can anyone please shine some light on what I’m missing here?
Had to switch to the prerelease version of the VS Code plugin btw to have the github example working.

Environment:
VS Code on Windows Server 2025.
Plugin version (pre-release) 2.39.2026030417
Terraform version v1.14.6.

Appreciate any efforts.

Best regards,
Sidney

I suddenly got this working today.
We’re behind a corporate proxy and it requires me to use:

(In PowerShell)
$env:HTTPS_PROXY = “http://username:$([System.Uri]::EscapeDataString(‘password’)@proxy.example.com:1234”
$env:HTTP_PROXY = $env:HTTPS_PROXY
git config --global --unset http.proxy
git config --global --add http.proxy “http://username:$([System.Uri]::EscapeDataString(‘password’)@proxy.example.com:1234”

After this I can run terraform init -backend=false but it doesn’t enable completion straight away.
I need to close VS Code and reopen it again to get it working.
I suspect the proxy has something to do with it.
But it works.. So I’ll see how I can polish this up a bit (maybe doing the init in a subshell or smth) but I will figure that out.

Cheers!