https://pulumi.com logo
f

fierce-cat-91199

08/06/2021, 2:10 AM
Can I use the automation API within a resource to query if the resource is being invoked from a Create or Update?
đź‘‹ 1
b

bored-oyster-3147

08/06/2021, 3:54 PM
I don’t know what you mean by “within a resource” but if you invoke your Pulumi update via automation api than you can subscribe to engine events so you can watch for create or update events against specific resources