Hello!
Can Pulumi Secrets store environment variables for a Node.js application? I have a Pulumi project where I have the following structure in the repo.
/app/ --> Where my node.js app resides
/infra/ --> where my infra resides for the node.js app
I'd like to use Pulumi to store envar's for my node.js app instead of using something like DotEnv.
d
dry-keyboard-94795
09/21/2023, 5:46 PM
I don't think there's a native way of doing it; but something I do is call the pulumi cli at the start of some of our applications to load the exported outputs
Might be easier to have the devs load a
.env
file from a password manager though; works great if you don't need to keep the values constantly up to date
b
bitter-painter-63067
09/21/2023, 6:02 PM
Thanks @dry-keyboard-94795 I'll keep that in mind, I appreciate your feedback.