Does pulumi come with something like this out of t...
# general
f
Does pulumi come with something like this out of the box? I can make it just don't want to if its not needed: https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-string#uniquestring I really also want to specify the desired output length, but would be nice to know if there is anything similar already. > uniqueString >
uniqueString(baseString, ...)
> Creates a deterministic hash string based on the values provided as parameters. > Namespace: sys.
m
f
I saw that, but I want it deterministic based on input. Though maybe it provides such functionality, I will double check
m
Ah, ok. Yeah, I don't believe it accepts input in that sense
d
What's the usecase for? You could just use sha256 (or whatever hash) and chomp the length