quick question: is there a benefit to creating resources with random suffixes (the default behavior with pulumi)?
b
brave-planet-10645
02/26/2021, 2:19 PM
It gives us a couple of things:
• means that resource names don't collide (think S3 bucket names which need to be globally unique)
• also means we can track the names and do replacement with no downtime
More information here https://www.pulumi.com/docs/intro/concepts/resources/#autonaming
Obviously you can also specify a name if you don't want the autonaming
o
orange-psychiatrist-22511
02/26/2021, 2:24 PM
Cool thanks! I had seen the FAQ entry about it but this was way more informative
b
brave-planet-10645
02/26/2021, 2:29 PM
🙂
b
billowy-army-68599
02/26/2021, 3:57 PM
Just a little more colour of my own, a lot of cloud resource apis are immutable (s3 bucket names is one good example) which means if you want to change something about it, you have to delete the resource to replace it.
Auto naming means we can do zero downtime replacement for a lot of those things