Terraform modules in azure repos
See original GitHub issueCan’t figure out a way to make it work for my terraform when I have terraform modules in Azure Repos
:host => "dev.azure.com"
:local_address => "redacted"
:local_port => 45288
:path => "/<org>/<project>/_git/az-application-insights.git/info/refs"
:port => 443
:reason_phrase => "Not Found"
:remote_ip => "13.107.42.20"
:status => 404
:status_line => "HTTP/1.1 404 Not Found\r\n"
Checking if app_insights::git_provider::repo_name/git_repo(758284703d54a9cb9c82fc911cbaea3cba3c7f2d)::1.0.1 1.0.1 needs updating
/home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.196.0/lib/dependabot/git_metadata_fetcher.rb:58:in `fetch_upload_pack_for': The following git URLs could not be retrieved: https://dev.azure.com/<org>/<project>/_git/az-application-insights (Dependabot::GitDependenciesNotReachable)
I’ve tried to add
variables:
- group: dependabot
- name: DEPENDABOT_EXTRA_CREDENTIALS
value: '[{"type":"terraform_registry", "url":"https://dev.azure.com", "token":"$(PAT)"}, {"type":"git", "url":"https://dev.azure.com", "username":"x-access-token", "password":"$(PAT)"}]'
to no avail.
In the browser I get not found
error for the path /<org>/<project>/_git/az-application-insights.git/info/refs
however it works if I remove the .git
part from path.
I’ve been able to reproduce this in public Azure Devops project: https://dev.azure.com/aurimasnavardauskas/dependabot/_build
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (6 by maintainers)
Top Results From Across the Web
git - How to source Terraform module hosted within Azure ...
Looking for the correct/working way to source a Terraform module that is hosted within a private Azure DevOps git repo via SSH (see...
Read more >Terraform init with Azure DevOps and https for module source
So, we are using Azure Devops to store our Terraform config and all the self created module code. We also want to use...
Read more >Using Terraform Modules from Git in Azure DevOps
Modules allow for packaging your Terraform code and logic into a re-usable unit of work that you can then share with others, or...
Read more >Using Terraform Modules from Github in Azure DevOps
Accessing Terraform Modules in Azure DevOps Pipelines · Upload your private key · Known Host · Create the DevOps Pipeline · Deploy your...
Read more >Sourcing Terraform Modules from Azure DevOps
I have an Azure DevOps Project for the Modules and, inside of that folder, there are two subfolders - one for Azure and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed in https://github.com/dependabot/dependabot-core/pull/6320 but it is yet to be merged. You can voice your support and opinion on it, hoping it gets merged.
Hi, seems to be working fine. Thanks!