late-energy-66663
01/06/2022, 9:50 PMlittle-cartoon-10569
01/06/2022, 9:52 PMlate-energy-66663
01/06/2022, 9:56 PM// wire up our update to stream progress to stdout
stdoutStreamer := optup.ProgressStreams(os.Stdout)
res, err := s.Up(ctx, stdoutStreamer)
if err != nil {
fmt.Printf("Failed to deploy vm stack: %v\n", err)
os.Exit(1)
}
time.Sleep(60 * time.Second)
for key, element := range res.Outputs {
fmt.Println("key", key, "=>", element.Value)
}
fmt.Println("Update succeeded!")
little-cartoon-10569
01/06/2022, 9:59 PMlate-energy-66663
01/06/2022, 10:02 PMlittle-cartoon-10569
01/06/2022, 10:04 PMlate-energy-66663
01/06/2022, 10:05 PMlittle-cartoon-10569
01/06/2022, 10:06 PMlate-energy-66663
01/06/2022, 10:06 PMlittle-cartoon-10569
01/06/2022, 10:51 PM--show-urns
option you can pass to pulumi stack
late-energy-66663
01/06/2022, 11:27 PMlittle-cartoon-10569
01/07/2022, 12:58 AM