https://pulumi.com logo
#aws
Title
# aws
m

mysterious-oyster-86659

04/08/2021, 6:03 PM
Hi Everyone! Is there a way to disable the random hex string appending to objects on resource-by-resource basis?
b

billowy-army-68599

04/08/2021, 6:05 PM
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

mysterious-oyster-86659

04/08/2021, 6:05 PM
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

billowy-army-68599

04/08/2021, 6:05 PM
😄 i have that link on speed dial!
😄 1
l

lemon-machine-35564

04/09/2021, 3:08 PM
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

mysterious-oyster-86659

04/09/2021, 6:40 PM
Ah yes - I did run into that issue without it. Thanks @lemon-machine-35564
1
b

billowy-army-68599

04/09/2021, 6:44 PM
this will cause outages, please be careful
1