-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
lang/funcs: Add sortsemver function #22689
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
|
78fe23b
to
0cbb213
Compare
Hello, it's been awhile but I've updated this aged PR to address:
|
ping @teamterraform |
1de073c
to
8c910e3
Compare
ping @teamterraform |
Sorry for pings @apparentlymart @mildwonkey but would you know if anybody would be able to look at this? |
ping |
ping @alisdair 🙏 |
aaab3a1
to
66423da
Compare
Reference: hashicorp#22688 To support re-ordering the elements of a given list of strings so that the elements matching a given version constraint are returned in precedence order.
ping @teamterraform @alisdair for a re-look 🙏 |
This would be a big help to my projects @teamterraform @alisdair |
@vsimon Thank you for your continual effort to get this merged. |
ping @teamterraform @alisdair for a re-look |
Thanks for this submission! As to why this PR has not been reviewed, please see this comment: #28855 (comment), specifically:
In this case, at this time, the team believes a |
Would love to see this integrated even if the plan for built-ins changes over time |
Just a heads-up that Provider-defined Functions were released in Terraform 1.8. Please see the documentation here: https://developer.hashicorp.com/terraform/plugin/framework/functions I will leave this PR open as I believe the champions of this issue believe this should be a built-in function, but if you find a way to contribute this via the provider functions, please let us know. Thanks! |
Reference: #22688
To support re-ordering the elements of a given list of strings so that
the elements matching a given version constraint are returned in
precedence order.