https://pulumi.com logo
#python
Title
# python
h

helpful-baker-38839

10/04/2022, 9:32 PM
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

billowy-army-68599

10/04/2022, 10:01 PM
yes, I only have a node example but it might help? https://github.com/EvanBoyle/pulumi-repl
👍 1
h

helpful-baker-38839

10/04/2022, 10:19 PM
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

billowy-army-68599

10/04/2022, 10:20 PM
it is possible, but you need to use automation API and stream engine events I believe
h

helpful-baker-38839

10/04/2022, 10:23 PM
thanks for the pointers. Might be some good info in the jupyter notebook example in the automation-api-examples repo.
1
g

great-sunset-355

10/05/2022, 10:26 AM
@billowy-army-68599 does that mean it would be possible to hook the pdb (python debugger) that way?