Guys, If i would like to turn off the random strin...
# general
c
Guys, If i would like to turn off the random string suffix on AWS resources. Of course taking the risk there is another resource with the same name in a different stack. How can I do this if it is possible? Lets say I would like to make a role KubeAdmins not KubeAdmin-sd4575s 🙂
I hope there will be a good API documentation for python too 😉 in the next year as Luke mentioned it...because I always ask about obvious things 😉
w
That's right, you can use the
name
property to choose a specific name. Note that this will make it harder to do zero-downtime replacements. Pulumi does create-before-delete replacements by default, but this will only work if you are using auto-naming so that the newly created resource has a different name. Doing this allows a new resource to be created, and dependencies to be updated to point to the new resource, before the old resource is deleted. This is generally quite useful.