is there any reason you can't just load the file from your code?
Copy code
npm install dotenv
import * as dotenv from 'dotenv';
dotenv.config();
etc?
a
ancient-megabyte-79588
03/04/2021, 4:36 PM
That totally worked. Thank you. I guess I was hoping that the
pulumi cli
would do that itself.
b
billowy-army-68599
03/04/2021, 4:43 PM
the pulumi CLI is just interpreting the code and passing it to the the language interpreter, so anything you put i the code is being handled by the CLI 🙂