Folks, there's an innocuous thing that's annoying ...
# azure
a
Folks, there's an innocuous thing that's annoying me. It seems that the Azure provider, when generating names by suffixing them with some random characters, doesn't use a hyphen separator between my name and that suffix. I vaguely remember that the AWS provider was not doing this. Is there something special about Azure (maybe limits?) so that the hyphen isn't used in the final generated names? For example, if I have a resource named
aks-cluster
it will generate something like
aks-clustere624bc72
, instead of
aks-cluster-e624bc72
.
a
afaik, there is no ability to substitute your own naming strategy in here. That would be an interesting feature, but in some cases, the resource you are generating isn't allowed to have
-
in the name, storage accounts for example. It is probably the least amount of support and complexity to have it the way that it is with simply 8 alphanumerics at the end.
a
Oh, right. Storage accounts don't accept hyphens, I've bumped into that. You're right, it makes sense to use this simpler strategy. Thanks.
e
I just left a trailing dash on all autonamed resources...
a
🙂 I thought about it, but that annoys me in a different way.
t
Feel free to upvote/comment on https://github.com/pulumi/pulumi/issues/1518