Hi Everyone! Is there a way to disable the <rando...
# aws
m
Hi Everyone! Is there a way to disable the random hex string appending to objects on resource-by-resource basis?
b
hi! yes there is, you just need to set the name property on the resource, more info here: https://www.pulumi.com/docs/troubleshooting/faq/#why-do-resource-names-have-random-hex-character-suffixes
1
m
Sorry - I think this is the solution: https://www.pulumi.com/docs/intro/concepts/resources/#autonaming Just explicitly😃 define a
name
property
hahah you're quicker than I am - thank you, @billowy-army-68599
b
😄 i have that link on speed dial!
😄 1
l
Also worth mentioning, any resource you add an explicit
name:
to, ensure you add
deleteBeforeReplace
.
1
(I do not work for Pulumi and this advice comes with no warranty)
m
Ah yes - I did run into that issue without it. Thanks @lemon-machine-35564
1
b
this will cause outages, please be careful
1