Skip to content
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

Add support for provider defined functions for id parsing (locality zonal & regional) #2517

Open
remyleone opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
enhancement priority:medium Improvements that are not the main priority provider

Comments

@remyleone
Copy link
Member

https://developer.hashicorp.com/terraform/plugin/framework/functions/implementation

It would be helpful to have such functions for locality parsing and extraction. Today it could be done using a split, but it would be nice to have support for all the kind of id we have:

regional: fr-par/11111111-1111-1111-1111-111111111111
zonal: fr-par-1:11111111-1111-1111-1111-111111111111
special id: fr-par/11111111-1111-1111-1111-111111111111/mySubresource

We want to be careful to not break compatibility of the provider for people not using the latest version of terraform.

@remyleone remyleone added enhancement priority:medium Improvements that are not the main priority labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement priority:medium Improvements that are not the main priority provider
Projects
None yet
Development

No branches or pull requests

2 participants