You can't be like `pulumi up -s ./path/to/index.js...
# general
a
You can't be like
pulumi up -s ./path/to/index.js
or sth
t
You could have an if in your
index.js
and choose the components based on the stack name
Like have
prod.js
and
staging.js
and import one of the other conditionally
a
Ooh! You're absolutely right!
Good idea 🙂