cuddly-easter-41456
04/24/2023, 4:33 AMnew Resource
... with a password, that is auto-generated on the fly.
As soon as I hit the same code next time, I don't have that password any longer. I don't want to generate a new password everytime I run the same code, so I'd rather try to see if the resource already exists and load this, instead of creating a new one. Is there a way how to do that? The documentation is not quite clear on this.
Also, I have a Dynamic Resource where I do this myself. I see that there is the read() Function for, I assume, this case. But I don't find any way on how to trigger this function during my automation code. Any pointers to documentation, example code, or what to search for would be much appreciatedrhythmic-secretary-1287
04/24/2023, 6:16 AMpulumi_random
for generating passwords (secret) that don’t change in the same statecuddly-easter-41456
04/24/2023, 7:31 AMnew resource
thing for my resources to keep them. But as the password is being ultimately saved in 1password, I don't want to update it every time. PLUS I try to prevent having to load each password while going through the infrastructure, as I have my own marker if resources need to be changedlimited-rainbow-51650
04/24/2023, 12:25 PMrandom.RandomPassword
resource to generate stable passwords? This will also declaratively create a new password once and use the same password on every next run of the same stack.
https://www.pulumi.com/registry/packages/random/api-docs/randompassword/cuddly-easter-41456
04/26/2023, 5:53 AM