gentle-account-95888
09/10/2024, 2:00 PMNPM_TOKEN
to the environment variables in my ESC environment, and imported the ESC environment to my stack.
When I run preview
in Pulumi Cloud Deployments, the installing dependencies
step fails (can't find the private library). But if I add NPM_TOKEN
as an environment variable directly to the Pulumi Deployments configuration, it works.
Is it expected that environment variables in ESC are not available before the actual pulumi preview
command runs?red-match-15116
09/10/2024, 3:41 PMpulumi login && pulumi env run {org/env] -- npm install
gentle-account-95888
09/10/2024, 4:29 PM