-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating terraform required_providers version #8746
Comments
Hi there, The Renovate team needs your help! To fix the problem, we first need to know exactly what's causing the bug. A minimal reproduction help us to pinpoint the exact cause of the bug. To get started, please read our guide on minimal reproductions to understand what is needed. We may close the issue if you have not provided a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
This issue has been labeled with This label will be replaced with If it's not clear what is missing to move this issue forward, ask for clarification in a new comment. If you think we already have what we need to move forward, mention this in a new comment. |
This needs logic added to the lib/manager/terraform/extract.ts so that it detects |
Workaround using a regex manager: {
"fileMatch": ["\\.tf$"],
"matchStrings": ["required_version\\s*=\\s*\"(?<currentValue>.+?)\""],
"datasourceTemplate": "docker",
"versioningTemplate": "hashicorp",
"depNameTemplate": "hashicorp/terraform"
} |
Awesome, thanks for the workaround @viceice 👍🏻! |
@rarkins you can assign me this. IMHO there should be a way to opt out of |
@secustor you could assign a
|
🎉 This issue has been resolved in version 24.60.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
Currently Renovate updates
.terraform-version
and our Docker tag reference in.gitlab-ci.yml
however inversions.tf
we have a version too which is not being updated by Renovate and requires manual intervention to do so.The
versions.tf
file looks like this:I would have expected the
required_version
to be updated from0.14.6
to0.14.7
during the Renovate run.Did you already have any implementation ideas?
Probably looking for the same version in
required_providers
and update it.If it is a non-specific version (e.g.
>= 0.13
) it should probably take care of that as well in case the minor version goes up (e.g.0.14.7
->0.15.0
)The text was updated successfully, but these errors were encountered: