echoing-postman-88590
10/13/2020, 3:26 PMsteep-spoon-2023
10/13/2020, 3:40 PMpulumi.all([myOutputT]).apply(([t]) => {
// do stuff with t
let myDownstreamDependency = new FooBar("asdasd", {
variable: t * 10
});
});
You should be able to the same in all languagesechoing-postman-88590
10/13/2020, 3:40 PMnetapp_pool.total_throughput_mibps.apply(lambda x: float(x))
steep-spoon-2023
10/13/2020, 3:45 PMechoing-postman-88590
10/13/2020, 3:45 PMsteep-spoon-2023
10/13/2020, 3:45 PMechoing-postman-88590
10/13/2020, 3:46 PMsteep-spoon-2023
10/13/2020, 3:46 PMx
you are using is a Output of intechoing-postman-88590
10/13/2020, 3:47 PMsteep-spoon-2023
10/13/2020, 3:47 PMapply
the value and create any dependent resources in the apply lambdaechoing-postman-88590
10/13/2020, 3:49 PMsteep-spoon-2023
10/13/2020, 3:53 PMechoing-postman-88590
10/13/2020, 3:54 PMsteep-spoon-2023
10/13/2020, 3:58 PMmy_altered_output = your_property_thats_an_output.apply(
lambda x: 10 * x
)
my.new.Resource('name',
number_of_flibbles = my_altered_output
)
echoing-postman-88590
10/13/2020, 3:58 PMsteep-spoon-2023
10/13/2020, 3:59 PMechoing-postman-88590
10/13/2020, 4:07 PMsteep-spoon-2023
10/13/2020, 4:08 PMechoing-postman-88590
10/13/2020, 4:09 PM