sparse-intern-71089
09/17/2021, 11:15 AMprehistoric-activity-61023
09/17/2021, 11:28 AMOutput<X> to functions that do not expect Input<X>prehistoric-activity-61023
09/17/2021, 11:29 AMOutput<X> is a wrapper for type X and it’s necessary because the value might not be available at the beginning (because for example it comes from other cloud resources created dynamically)prehistoric-activity-61023
09/17/2021, 11:31 AMprehistoric-activity-61023
09/17/2021, 11:31 AMlogConfiguration.prehistoric-activity-61023
09/17/2021, 11:34 AMprehistoric-activity-61023
09/17/2021, 11:35 AMlogConfiguration value using pulumi apply functionprehistoric-activity-61023
09/17/2021, 11:38 AMOutput<string> called mySecret you should write (treat it as a hint and not a working example - I usually use python with pulumi):
...
logConfiguration: mySecret.apply(s => {
foo: "bar",
options: s
}),
instead of:
...
logConfiguration: {
foo: "bar",
options: mySecret
},prehistoric-activity-61023
09/17/2021, 11:39 AMmany-yak-61188
09/18/2021, 1:03 PMmany-yak-61188
09/18/2021, 1:03 PM