Is it possible to get the value of autonamed resou...
# typescript
g
Is it possible to get the value of autonamed resource before the resource is created? eg
new aws.lambda.Function("urnpart", {}..)
results in function
urnpart-12345
is there a way to get the value of
12345
before the function is created?
b
No. You can set a name yourself using the
name
input and this will override the auto naming
g
yeah I know I can override auto naming, it is probably the only thing I can do
b
We use random numbers and letters for the auto-naming suffix so there’s no way to predict what it will be
c
I am curious -- why do you want the final resource name before the resource is created? In other words, what are you trying to do with it?