https://pulumi.com logo
b

brainy-vegetable-77467

05/01/2020, 1:34 PM
Hello... just arrived at Pulumi... I need help with the following: I create a droplet on DigitalOcean that returns an ip address... then, I want to use that master_ip_priv in another user-data when creating another droplet... How do I read the token variable master_ip_priv ? in the example it is empty... the code:
b

broad-dog-22463

05/01/2020, 1:37 PM
Hi @brainy-vegetable-77467 I'd suggest reading about the inputs and outputs of Pulumi as they are slightly different - https://www.pulumi.com/docs/intro/concepts/programming-model/#outputs Hoping this helps you
b

brainy-vegetable-77467

05/01/2020, 1:39 PM
I read it and tried different variations... but I don't think I understood the correct syntax for this case...