This message was deleted.
s
This message was deleted.
g
Are you trying to (A) call
my-dataflow-script.py
from your Pulumi application or are you trying to (B) call your Pulumi application from
my-dataflow-script.py
? (A) is supported. The best way would be to create a Dynamic Provider to call your script at the right "event" (create, update, etc) - https://www.pulumi.com/docs/intro/concepts/resources/#dynamicproviders. (B) is not supported as the
pulumi
cli (engine) must be the invocation point of your pulumi application.
m
Thanks! (A) would be correct. I haven’t used dynamic providers before. Is there any tutorial/simple example of doing something like this?
m
Thank you! I’ll take a look!
Just to follow up, if anyone happens to stumble on this thread later on, I followed the example in https://www.pulumi.com/blog/deploying-mysql-schemas-using-dynamic-providers/ and managed to do what I wanted. Big thanks!
👍 1