This message was deleted.
# general
s
This message was deleted.
a
could you check for the existence of the value in the config, generate and store it if not present? or is config a complete no-go
(will freely admit i don't know right now if there's a way to set config values from the code - just getting started with pulumi...)
f
If there’s a way to store it in the config from the code, that would be perfect, but unfortunately I don’t think we can (or I don’t know how). But anyway my goal is to keep them independent from real user inputs in the config.
ok nevermind, I found it, there’s a package for that
@pulumi/random
Sorry I didn’t dig enough 🙂
w
Yes -
@pulumi/random
is very handy for generating persistent secrets/randomness within a Pulumi program.