Skip to content

How to have the terraform manager search bitbucket or git tags for a bitbucket git URL terraform module source? #28620

Closed Answered by shaafekhan
shaafekhan asked this question in Request Help
Discussion options

You must be logged in to vote

Ended up figuring it out myself. solution (in renovate.json):

 "customManagers": [
    {
      "customType": "regex",
      "fileMatch": ["\\.tf$"],
      "matchStrings": ["source.=.\\\"(?<depName>.*?)\\?ref=(?<currentValue>\\d.\\d.\\d)"],
      "datasourceTemplate": "git-tags"
    }
  ]

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@shaafekhan
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by shaafekhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:logs Issue or Discussion is needs logs/more logs
1 participant