Using dependabot for terraform with modules from a private AzDO source #31323
Unanswered
waltervos
asked this question in
Code Security
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The title is a bit long perhaps :). In my team we use terraform in Azure Pipelines with modules sourced from (other) private Azure DevOps repositories. A simple example would be:
Repo: terraform_modules, file greeting/main.tf
Repo: IAC
When dependabot runs for the IAC repo in this example, this error comes up:
How can I deal with this situation effectively?
ignore
doesn't seem to work, because that only takes effect after the dependencies have been checked, and I don't see a way to pass git credentials to dependabot in a way that will work. Any ideas?P.S. When deploying this terraform project, we use this command in our Azure Pipelines job to ensure that terraform can access the required repo's:
Beta Was this translation helpful? Give feedback.
All reactions