sparse-intern-71089
12/21/2021, 2:14 PMgreat-sunset-355
12/21/2021, 2:31 PMxxx = pulumi.Output.fromInput(
{
AURORA_USERNAME: rdsUsername,
AURORA_PASSWORD: rdsPassword
}
).apply(JSON.stringify)
Then you should be able to pass xxx
to secretString
limited-army-96747
12/21/2021, 2:36 PMindex.ts(651,35): error TS2339: Property 'fromInput' does not exist on type 'OutputConstructor'.
great-sunset-355
12/21/2021, 2:43 PM"""
Takes an Input value and produces an Output value from it, deeply unwrapping nested Input values through nested
lists, dicts, and input classes. Nested objects of other types (including Resources) are not deeply unwrapped.
:param Input[T_co] val: An Input to be converted to an Output.
:return: A deeply-unwrapped Output that is guaranteed to not contain any Input values.
:rtype: Output[T_co]
"""
You should find TS equivalent here: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#Inputlimited-army-96747
12/21/2021, 2:44 PMlimited-army-96747
12/21/2021, 2:44 PMconst auroraCreds = pulumi.all([rdsUsername.result, rdsPassword.result])
.apply(([username, password]) => {
JSON.stringify({ AURORA_USERNAME: username, AURORA_PASSWORD: password })
})
great-sunset-355
12/21/2021, 2:56 PMgreat-sunset-355
12/21/2021, 2:56 PMapply()