millions-ability-3268207/10/2021, 9:41 AM
Then I changed the
$ tree -I node_modules $(pwd) /workspaces/tmnf-do ├── package.json ├── package-lock.json ├── Pulumi.tmnf-server.yaml ├── Pulumi.vm.yaml ├── Pulumi.yaml ├── stacks │ ├── tmnf-server │ │ └── index.ts │ └── vm │ ├── index.ts │ └── userdata.sh └── tsconfig.json
setting of the two stacks to point to the stack directory:
But when I run
$ tail -n +1 Pulumi.*.yaml ==> Pulumi.tmnf-server.yaml <== main: stacks/tmnf-server ==> Pulumi.vm.yaml <== main: stacks/vm config: digitalocean:token: secure: [redacted]
I get the following warning:
pulumi up --stack vm
Which leads me to think that pulumi is still looking for the program in the project directory, disregarding the
Diagnostics: pulumi:pulumi:Stack (tmnf-do-vm): We failed to locate the entry point for your program: /workspaces/tmnf-do Here's what we think went wrong: * Your program's 'main' file (/workspaces/tmnf-do/index.js) does not exist.
setting from stack config files. My question is: should a setup like this be possible, and should it even be possible to override
per stack like I am trying to do?
many-yak-6118807/10/2021, 4:35 PM