https://pulumi.com logo
Title
c

cold-insurance-72507

12/15/2021, 8:45 AM
Hello everyone! 😀 I was wandering if there is a way to change the default auto naming behavior using the azure native provider. I would like to have the "-" before the random suffix. Something like this
testproject-main-api-app-e2d426f4
instead of the default that is
testproject-main-api-appe2d426f4
t

tall-librarian-49374

12/15/2021, 8:54 AM
This is tracked in https://github.com/pulumi/pulumi/issues/1518. Right now you’d have to assign the names manually.
c

cold-insurance-72507

12/15/2021, 9:00 AM
😭 ...and eventually you suggest to use the Random provider to create the random part programmatically? This can be difficult to manage because we lose the constraints (related to each provider) that instead the default auto naming knows, correct?