best-xylophone-83824
02/13/2019, 1:11 PMgorgeous-egg-16927
02/13/2019, 4:24 PMbest-xylophone-83824
02/13/2019, 4:31 PMgorgeous-egg-16927
02/13/2019, 4:36 PMbest-xylophone-83824
02/13/2019, 4:43 PMpulumi up
call on a Stack as a library function would be enough. then we can chain transition between declarative states without falling back to wrapping pululmi
in bash and that would be killer featurecreamy-potato-29402
02/13/2019, 8:47 PMbest-xylophone-83824
02/13/2019, 9:05 PMcreamy-potato-29402
02/13/2019, 9:06 PMbest-xylophone-83824
02/13/2019, 9:06 PMwhite-balloon-205
Output<T>
which is effectively a promise that also tracks dependency information. This allows you to chain operations in amongst the deployment steps for some scenarios (and there's more we're looking to enable here).
See also https://pulumi.io/reference/programming-model.html#outputs.creamy-potato-29402
02/13/2019, 9:09 PMbest-xylophone-83824
02/13/2019, 9:09 PMcreamy-potato-29402
02/13/2019, 9:10 PMbest-xylophone-83824
02/13/2019, 9:10 PMcreamy-potato-29402
02/13/2019, 9:11 PMbest-xylophone-83824
02/13/2019, 9:12 PMcreamy-potato-29402
02/13/2019, 9:12 PM.promise
best-xylophone-83824
02/13/2019, 9:14 PMcreamy-potato-29402
02/13/2019, 9:15 PMbest-xylophone-83824
02/13/2019, 9:25 PMcreamy-potato-29402
02/13/2019, 9:33 PMpulumi up
, and so onbest-xylophone-83824
02/13/2019, 9:44 PMcreamy-potato-29402
02/13/2019, 9:49 PMbest-xylophone-83824
02/13/2019, 9:51 PMwhite-balloon-205
having promises on every resourceWe do indeed have this via
Output<T>
(I dropped a note above - but see also https://pulumi.io/reference/programming-model.html#outputs)
multiple updates per runThis is a piece that is not currently supported - we have some thought on how to add it while still maintaining a desired state model.
image buildsFWIW - we do this in many examples today with the
@pulumi/docker
package which combines image build with infrastructure provisioning into a single workflow which can version together.
stack as a promiseI think you are talking about something like this? https://github.com/pulumi/pulumi/issues/2209
best-xylophone-83824
02/13/2019, 10:10 PMhelpful-holiday-1475
02/15/2019, 2:45 AM