Hey, wanna know what is the best way to have confi...
# general
b
Hey, wanna know what is the best way to have config file by environment like
stage
and
prod
?
c
@big-potato-91793 you mean, beyond
pulumi config set ...
?
b
Have you created a stack for each environment?
b
yeah, i would like to have one stack for deploying es service in aws but i have 3 different environment how should i do it?
"best"
way 🙂, i’m starting with pulumi so i’m trying to do a poc my company
b
You would create one Pulumi project with 3 stacks, one for each environment
b
ok, do you have one example on github or somewhere? I could use the same file for creating my service?
b
But this will explain what a stack is https://pulumi.io/reference/stack.html
b
awesome thank you sir 🙂
c
yeah, that’s one way to do it. someday I think we’ll have facilities that let you do things like diff between environments. but stacks are the way to go for now.
b
all right!! What is the way to debug a
up
. with the
preview
command?
c
what are you trying to do?
preview
tells you what’s going to happen.
b
debug what i have in my
index.ts
😬
c
That could mean a whole bunch of things, though
preview
is basically a dry run. Is that not enough information?
b
yeah i think i’m good with it 😉