-
-
Notifications
You must be signed in to change notification settings - Fork 549
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
feat: Add support for version constraints in tfupdate
#436
Conversation
@chris3ware please test is that works correctly for you. |
Have you tested this with third Also it seems like this PR is somewhat a workaround for another workaround 😢 A fix for the #388 would be to properly quote values (as in elements of |
Good catch, I'll do it.
|
Right now (v1.75.0), constructions with space inside don't works for all kind of elements, including At the same time, for constructions without spaces, quotes are not needed, and that will work: At the same time, pre-commit have their own mechanisms to ignore paths, so, for that case is a workaround For now, in However, in current args:
- --args=provider google
- --args=--ignore-path sdfs/sfdfs
- --args=--version ">= 4.18.0, < 5" will works, when next will fail: args:
- --args=provider google
- --args=--version ">= 4.18.0, < 5"
- --args=--ignore-path sdfs/sfdfs Which is not expected, so I try to find another solution |
This issue has been resolved in version 1.76.0 🎉 |
Hi, sorry for the delay. Thanks for adding this. Can confirm it works as expected. |
Put an
x
into the box if that apply:Description of your changes
Fixes #388
How can we test changes
pre-commit-config.yaml
:versions.tf