Hello all. Is it possible to use Pulumi in a REPL ...
# python
h
Hello all. Is it possible to use Pulumi in a REPL like iPython? For example to do something like
bucket = aws.s3.BucketV2.get("bucket", "bucket")
so I can then look at the
bucket
object interactively?
b
yes, I only have a node example but it might help? https://github.com/EvanBoyle/pulumi-repl
👍 1
h
Thanks, I did see that project, makes me think it’s probably possible in python as well. I’m not so familiar with typescript but I’ll look into this more.
b
it is possible, but you need to use automation API and stream engine events I believe
h
thanks for the pointers. Might be some good info in the jupyter notebook example in the automation-api-examples repo.
1
g
@billowy-army-68599 does that mean it would be possible to hook the pdb (python debugger) that way?