This message was deleted.
# general
s
This message was deleted.
b
you can't use apply for a resource name, it must be known at runtime
it has to be a string
a
FWIW, we use the stack variable in the resource name to provide uniqueness, and then most objects you can set the "name" of the object in the saas provider with an apply. You get a consistent resource name for pulumi to be happy, and your human eyes get whatever name you want, not resourcename-$hash. For a while I didn't realize there was a way to control the name of the object in AWS, and I was going down the same path trying to make the resource name prettier.
👍 1