Hi all, I am trying to recreate multiple Azure res...
# python
b
Hi all, I am trying to recreate multiple Azure resources with a python script (I need the script to scrape and pull relevant data). Pulumi AI says pulumi should work from within the python script (executing
python3 main.py
) and create the resources while some pages in the docs say that I can only execute pulumi with
pulumi up
and can't use my python script to dynamically generate those resources (very similar to
terraform apply
) Can someone please clear things for me once and for all? 😕 Much appreciated
c
Why do you want to use Python to run your
main.py
instead of Pulumi?
b
@colossal-airplane-46873 lets say I am running a web server that one of its functions is to create resources in Azure (depending on an input from the user). I want to be able to create these resource during runtime using python commands instead of pulumi CLI