I'd like to include the pulumi code for provisioni...
# automation-api
c
I'd like to include the pulumi code for provisioning inside of a Python module and using the automation API from a
Click
command bring the stack up. Is there an example of using pulumi like this?
q
c
That wasn't super helpful because it was running inline vs in a module I ended up creating a Python module and put it here: https://github.com/kjenney/prov All it does now is create a single S3 bucket but it could provision anything using the
pulumi_program
function
q
There's no real difference between an inline function and a module: https://github.com/pulumi/automation-api-examples/tree/main/python/local_program
l
This might be of interest to you. A django app with a front end that kicks of automation api deployments: https://github.com/komalali/self-service-platyform
c
That is very interesting - kinda the intent of the automation api. Thanks @lemon-agent-27707