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
able-beard-29160
06/01/2020, 10:06 PM
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
enough-oil-63049
06/01/2020, 11:18 PM
I just left a trailing dash on all autonamed resources...
a
able-beard-29160
06/01/2020, 11:49 PM
🙂 I thought about it, but that annoys me in a different way.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.