https://pulumi.com logo
Title
p

proud-salesmen-31441

01/12/2022, 9:14 AM
Hey! Is there a way to both create and update a resource in a single "pulumi up"? I have a resource where I want to set one of its properties based on an ID generated by azure for that same resource, so I need to have the resource created before setting some properties on it.
b

brave-planet-10645

01/12/2022, 10:10 AM
Quick answer: No Long answer: Pulumi is declarative and builds up the final view of your infrastructure, so you can only define what it's going to look like at the end Other answer: You can use automation api as an orchestrator and run two separate `pulumi up`'s, one after the other
p

proud-salesmen-31441

01/12/2022, 11:04 AM
The Automation API looks like the way to go with this. Thank you for the help! 😄
👍 1