This message was deleted.
# general
s
This message was deleted.
r
how is that password generated on the fly? we do use
pulumi_random
for generating passwords (secret) that don’t change in the same state
c
I use automation api to provide my own system. I basically have my own infrastructure json where some resources in there will be managed by pulumi code. But for Pulumi I need to do the whole
new 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 changed
l
@cuddly-easter-41456 have you tried the
random.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/
c
I will have a deeper look into this, thanks