-
Notifications
You must be signed in to change notification settings - Fork 118
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
Improve uuid generated by making it valid #402
Comments
Hi @dngferreira 👋 Thank you for raising this. It is a little unfortunate that the resource is named "uuid" when, as its description mentions, its a "UUID-formatted string" rather than following RFC 4122's definition of a UUID. To be upfront, I'm imagining that if this proposal is accepted (depending on the burden for practitioners to deal with the adjustment) the implementation of the existing resource would not potentially be updated until a future major version, which is not planned at the moment. Another option may be to introduce a separate new resource or potentially offload UUID-based resources onto a different provider. I will reach out to the product owner for this provider and leave this issue open to determine other community interest, signaled by 👍 reactions on the issue. |
Hi, I'm willing to take time and make a PR if the team would validate it. |
We just ran into this issue with an app for Microsoft's ecosystem. Our app is hosted in a number of Office apps (Teams, Outlook, etc), and while it works in most settings, it silently refuses to load when in microsoft365.com, because they use an RFC-compliant validator in that specific host. I would suspect that, collectively, this issue is costing a lot of engineering time to work out. |
To echo Pablo's comment, we (Google) also validate UUID4s in parts of our ecosystem. IMO Terraform should be providing such a uuid4 generator because it's a widely used standard, not specific to any company. I see that equivalent functions already exist in other Hashicorp products such as Packer. Please consider prioritizing this. |
Terraform CLI and Provider Versions
Terraform v1.4.5 - on darwin_amd64
provider 3.5.1
Use Cases or Problem Statement
Currently random_uuid doesn't generate uuid's that follow the RFC 4122 and can be validated against the same RFC.
Some applications we interact with do uuid's validation which is causing some problems with terraform automation of those uuid's across multiple services.
Proposal
migrate from go-uuid to github.com/google/uuid library
How much impact is this issue causing?
Medium
Additional Information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: