Skip to content

Disable updates for terraform it self does not work #8826

Answered by viceice
Vrtak-CZ asked this question in Request Help
Discussion options

You must be logged in to vote

This should work:

   "packageRules": [
        {
            "matchPackageNames": ["hashicorp/terraform"],
            "enabled": false
        }
    ]

export function analyseTerraformVersion(dep: PackageDependency): void {
/* eslint-disable no-param-reassign */
dep.datasource = datasourceGithubTags.id;
dep.depName = 'hashicorp/terraform';
dep.extractVersion = 'v(?<version>.*)$';
/* eslint-enable no-param-reassign */
}

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #8825 on February 23, 2021 13:11.