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

better-actor-92669

07/27/2020, 2:30 PM
hey guys. how to avoid the creation of the new python venv, using
pulumi new
if I already have it? https://www.pulumi.com/docs/reference/cli/pulumi_new/
Copy code
-g, --generate-only             Generate the project only; do not create a stack, save config, or install dependencies
I need to create a stack, save config, I just need not to create the venv automatically
g

gentle-diamond-70147

07/27/2020, 3:34 PM
The
-g
flag you mentioned is the best option. You can
pulumi new aws-python -g
then
pulumi stack init
and
pulumi config set ...
to create the stack and save conig.
b

better-actor-92669

07/27/2020, 3:46 PM
thank you @gentle-diamond-70147