https://slatedb.io logo
we just use virtualenv for our pulumi stack. its w...
# general
r
we just use virtualenv for our pulumi stack. its worked fine so far
c
Do you guys put everything in one file? That's what bugs me about this approach. I tried creating a proper python project but the imports don't work because I don't have a setup.py or equivalent.
I can import individual python files of course, but that's so janky. Would much prefer ’from slatedb_pulumi.github import GithubRunner’
I also wanted to do type hint enforcement with pyright.. and black and stuff...
Basically make it a well organized proper python project.. but again you really need something like poetry or uv or pdm for that...
r
ah no we have a requirements.txt under the stack directory and then you have to install all that stuff from your venv before running pulumi up
we hardly ever run pulumi from our laptops so it's not particularly annoying
f
we only execute pulumi via github workflow, it requires a secret to access/store the state files in an object store, the secret can be stored in github workflow's secrets
c
Will take another crack tomorrow. found an idiomatic python example to follow.