Hi there, I am using pulumi to deploy a few cloud ...
# google-cloud
f
Hi there, I am using pulumi to deploy a few cloud run based services. I was wondering if there is a way to control the exact service name/id that pulumi creates. It looks like given a service name
new cloudrun.Service('my-service-name', {})
pulumi adds a 7 character long randomized suffix to the service name
my-service-name-abcdef
. Is there a way to override this and have the name/id be exactly what we specify?
q
Yeah, you can pass it in via metadata.
Copy code
new cloudrun.Serrvice("my-service-name", { metadata: { name: "my-service-name" } });
f
thank you 👍