I'm following this example of post-provisioning wi...
# python
s
I'm following this example of post-provisioning with a dynamic provider here. I have copied the
provisioners.py
file without revision and I'm importing it in my
__main__.py
with
import provisioners
. I am using a dynamic provider to remote exec into a server with network access to an aurora cluster to run a MySQL command,
show databases
. However, my program errors:
Copy code
└─ pulumi-python:dynamic:Resource  show-dbs                                      1 error

Diagnostics:
  pulumi-python:dynamic:Resource (show-dbs):
    error: Exception calling application: No module named 'provisioners'
I'm not sure what i'm doing wrong to make this module unavailable.
b
how is your code structured? same as the git repo?
s
not quite. I have a separate directory containing several home-grown modules. in my pulumi program, I am calling two different modules, and one of those modules calls a few others including
provisioners.py
. Things have been working up until this point
b
hmm, are you able to share the repo?
s
at the moment, no not publicly. that would take some effort and time to make publicly consumable
r
I wonder if you’re running into https://github.com/pulumi/pulumi/issues/7360
g
That's very likely the issue, I plan to experiment on this today as well