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
abundant-airplane-93796
01/04/2019, 1:42 PM
(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
faint-motherboard-95438
01/04/2019, 1:44 PM
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.
faint-motherboard-95438
01/04/2019, 1:47 PM
ok nevermind, I found it, there’s a package for that
@pulumi/random
Sorry I didn’t dig enough 🙂
w
white-balloon-205
01/04/2019, 7:07 PM
Yes -
@pulumi/random
is very handy for generating persistent secrets/randomness within a Pulumi program.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.