This message was deleted.
s
This message was deleted.
b
c
that will generate random string, but how can I set that as a secret when a secret is not present?
^ example.
I don't see anything like that examining the types.
I imagine I could use secrets manager instead.
b
you can mark an output as secret with `additionalSecretOutputs`: https://www.pulumi.com/docs/intro/concepts/programming-model/#additionalsecretoutputs
you can't save the password back to the config file though
c
ok, thank you, question though, when I use the random utility, will it generate a new random password on each run or does it keep the value in state?
b
no it generates the password uniquely for the state unless you modify it, so it won't change constantly
c
ok, nice, thanks for clarifying.
I know I'm asking a lot of questions. I really appreciate the pointers.
Doing a lot of learning on this.
b
please don't apologise! we're here to help and glad you're enjoying the experience
💯 1