This message was deleted.
# general
s
This message was deleted.
b
this is enforced by the upstream API I believe, we just consume it
IE I think this is a Google thing
c
@billowy-army-68599 isn't this name only used by Pulumi though? I'd understand if it was the
name
field inside the args object for the resource, but this is the "name" parameter that all Pulumi resources have, regardless of the cloud provider being used
I might have missed something of course - I'm still fairly new to Pulumi
b
So the name of inside the resource gets used as the
name
field with auto naming
so let's say you creating
new Project('project:dev')
it creates a resource with name
project:dev-xxxxxx
which is still used for the API call
if you look at the API spec: https://cloud.google.com/resource-manager/reference/rest/v1/projects#resource:-project here's the allowed characters
c
Ahh thanks @billowy-army-68599 - I didn't realise that auto-naming was a thing
c
I'll have a read over that - thanks again!