big-potato-91793
04/03/2020, 6:25 PMconst configVariables: Record<string, string> = {
username: config.databaseUsername,
password: config.databasePassword,
connectionString: config.databaseConnectionString,
bucketname: config.bucketname,
bucketPrefix: `${config.appName}/${config.environment}`,
bucketRegion: config.region,
};
config.databaseUsername
is a secret. When I take a look at my secret in k8s the value is more something like
"user": "Calling [toString] on an [Output<T>] is not supported.
To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
2: pulumi.interpolate `prefix${v}suffix`
What should I do? thxwhite-balloon-205
big-potato-91793
04/04/2020, 11:22 AM