This message was deleted.
s
This message was deleted.
l
It would be better to call this after your
pulumi up
, since your code is run before the engine does its thing and makes the changes.
You can either call
pulumi up
from another app/script, which does that work, or you can use automation-api to do that.
That allows you to embed your Pulumi code within a larger app, that includes things like using the just-provisioned infrastructure.
e
thanks
b
you could also call the API from within an
apply
or use a dynamic provider