flat-insurance-25294
01/16/2020, 11:33 PMif (config.isProduction == false) {
export const rdsPassword = rds.masterPassword
}
Like that wouldn’t work.handsome-actor-1155
01/16/2020, 11:34 PMpulumi.getStack()
flat-insurance-25294
01/16/2020, 11:34 PMhandsome-actor-1155
01/16/2020, 11:35 PMflat-insurance-25294
01/16/2020, 11:35 PMhandsome-actor-1155
01/16/2020, 11:36 PMexport const rdsPassword = pulumi.getStack() === "prod" ? rds.masterPassword : "notapassword"
Something like that?flat-insurance-25294
01/16/2020, 11:36 PMhandsome-actor-1155
01/16/2020, 11:36 PM