Terraform: "No new version found" error when minimumReleaseAge is set and .terraform.lock.hcl exists #43565
Replies: 2 comments 2 replies
This comment was marked as low quality.
This comment was marked as low quality.
-
|
The issue still persists, but I've found a workaround for my project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
A Mend.io-hosted app
Which platform you running Renovate on?
GitHub.com
Which version of Renovate are you using?
43.194.0
Please tell us more about your question or problem
Current behavior
When Renovate updates Terraform Providers, the following error occurs under specific conditions:
The issue occurs when all of the following conditions are met:
minimumReleaseAgeis configured in Renovate.required_providersis defined.providerblock exists..terraform.lock.hclexists.I was able to reproduce this issue with multiple providers, including:
auth0/auth0cloudflare/cloudflareReproduction
PoC repository:
The following projects in the repository reproduce the issue:
auth0-with-issue(which specifies Auth0 provider)cloudflare-with-issue(which specified Cloudflare provider)Additional details
The update PR is created successfully if any of the following changes are made:
minimumReleaseAgeis removed from the Renovate configuration.providerblock is removed (while keeping onlyrequired_providers).without-issue-1project in the PoC repo.terraform.lock.hclis removed.without-issue-2project in the PoC repoThe attached debug logs were collected with Renovate log level set to
debug.The issue reproduces in both:
Expected behavior
Renovate should successfully update the Terraform Provider version and
.terraform.lock.hclwithout failing with:Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions