This message was deleted.
# general
s
This message was deleted.
h
pulumi.getStack()
f
Yeah, I know, that’s how I get wether or not it is production. That’s not the problem
h
Oh you want to output certain things based on the stack?
f
Yeah I thought that’s what I wrote.
Sorry for the confusion.
h
Copy code
export const rdsPassword = pulumi.getStack() === "prod" ? rds.masterPassword : "notapassword"
Something like that?
f
Oh don’t I feel stupid, yeah I get that’s better.
Thank you!
h
NP