This message was deleted.
# general
s
This message was deleted.
b
Are you using the nextgen Azure provider? If so, this doesn't have autonaming yet. It is forthcoming though
s
No, the regular (old) Azure api. The random suffix is there, but there used to be a
-
between the name and the suffix, which does not seem to be there anymore
b
I see that. @tall-librarian-49374 FYI - I'm raising an issue now
t
I think it’s been like this for a long time (always?). Here is a workshop page from Feb 2020: https://github.com/pulumi/infrastructure-as-code-workshop/blob/master/labs/azure/csharp/01-iac/03-provisioning-infrastructure.md
name : “my-groupfa48c889”
Some resource types (e.g. storage accounts) don’t allow hyphens in names
b
Do we document that anywhere?
t
That I don’t know
b
Do we have a list of azure resources that don't allow the hyphen?
s
Yes, maybe it was always like that. I haven't used the auto naming in quite some time, and got confused by the documentation (which includes a
-
usually).
l
I notice that in some resources, the suffix is generated differently depending on whether you use no naming parameters (and it figures it out from the Pulumi name) or you use the namePrefix arg. When namePrefix is used, the suffix seems to be based off the datetime.