-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Terraform Manager: Support for definition of versions via locals and variables #16439
Comments
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created 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 |
you can use regex manager to update those variables as workaround. I'm using those a lot for my terraform infrastructure to replace docker registry to my proxy 😉 |
@viceice Could you elaborate on how you're doing this? Given that it doesn't look like this ticket has made any progress:) |
I'm using regex manager to update locals |
To be honest, this doesn't really work for us. We have a lot of different kinds of entities, this would require a lot of regex work. |
@PeterBennink you can help move this forward by providing a minimal reproduction |
I am trying to do the same, but have an additional abstraction layer by using terragrunt. |
I solved it like this:
and the corresponding regexManager config:
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
What would you like Renovate to be able to do?
We have extracted the versions for resources like
helm_release
intovariables
orlocals
to facilitate module reuse. However, some modules contain a default version inside a variable, but these can be overridden by other Terraform scripts that use them.Currently, it appears that the Terraform manager does not recognize versions passed via
locals
orvariables
to resources likehelm_release
.If you have any ideas on how this should be implemented, please tell us here.
I'd no deeper look inside the implementation of a manager... so no idea.
Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: