Hey! Is there a way to both create and update a re...
# azure
p
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
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
The Automation API looks like the way to go with this. Thank you for the help! 😄
👍 1